File tree Expand file tree Collapse file tree 4 files changed +10
-7
lines changed
libs/labelbox/tests/unit/schema Expand file tree Collapse file tree 4 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -57,12 +57,6 @@ def setup_method(self):
57
57
self .client .enable_experimental = True
58
58
self .group = UserGroup (client = self .client )
59
59
60
- def test_constructor_experimental_needed (self ):
61
- client = MagicMock (Client )
62
- client .enable_experimental = False
63
- with pytest .raises (RuntimeError ):
64
- group = UserGroup (client )
65
-
66
60
def test_constructor (self ):
67
61
group = UserGroup (self .client )
68
62
Original file line number Diff line number Diff line change @@ -28,14 +28,15 @@ dev-dependencies = [
28
28
" pytest-timestamper>=0.0.10" ,
29
29
" pytest-timeout>=2.3.1" ,
30
30
" pytest-order>=1.2.1" ,
31
+ " pyjwt>=2.9.0" ,
31
32
]
32
33
33
34
[tool .rye .workspace ]
34
35
members = [" libs/*" , " examples" ]
35
36
36
37
[tool .pytest .ini_options ]
37
38
# https://github.com/pytest-dev/pytest-rerunfailures/issues/99
38
- addopts = " -rP -vvv --reruns 1 --reruns-delay 5 --durations=20 -n auto --cov=labelbox --import-mode=importlib --order-group-scope=module "
39
+ addopts = " -rP -vvv"
39
40
markers = """
40
41
slow: marks tests as slow (deselect with '-m "not slow"')
41
42
"""
Original file line number Diff line number Diff line change @@ -200,6 +200,7 @@ pygments==2.18.0
200
200
# via nbconvert
201
201
# via rich
202
202
# via sphinx
203
+ pyjwt==2.9.0
203
204
pyproj==3.5.0
204
205
# via labelbox
205
206
pytest==8.2.2
Original file line number Diff line number Diff line change @@ -50,6 +50,10 @@ jinja2==3.1.4
50
50
# via sphinx
51
51
markupsafe==2.1.5
52
52
# via jinja2
53
+ mypy==1.10.1
54
+ # via labelbox
55
+ mypy-extensions==1.0.0
56
+ # via mypy
53
57
numpy==1.24.4
54
58
# via labelbox
55
59
# via opencv-python-headless
@@ -119,13 +123,16 @@ sphinxcontrib-serializinghtml==1.1.5
119
123
# via sphinx
120
124
strenum==0.4.15
121
125
# via labelbox
126
+ tomli==2.0.1
127
+ # via mypy
122
128
tqdm==4.66.4
123
129
# via labelbox
124
130
typeguard==4.3.0
125
131
# via labelbox
126
132
typing-extensions==4.12.2
127
133
# via annotated-types
128
134
# via labelbox
135
+ # via mypy
129
136
# via pydantic
130
137
# via pydantic-core
131
138
# via typeguard
You can’t perform that action at this time.
0 commit comments