Skip to content

Commit 0e27cd5

Browse files
author
Val Brodsky
committed
Update annotation
1 parent d695090 commit 0e27cd5

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

pytest.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[pytest]
22
pythonpath = .
3-
addopts = -rP -vvv --reruns 1 --reruns-delay 10 --durations=20 -n 32
3+
addopts = -rP -vvv --reruns 5 --reruns-delay 10 --durations=20 -n 32
44
markers =
55
slow: marks tests as slow (deselect with '-m "not slow"')

tests/data/annotation_import/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -987,7 +987,7 @@ def point_inference(prediction_id_mapping):
987987
@pytest.fixture
988988
def entity_inference(prediction_id_mapping):
989989
entity = prediction_id_mapping["named-entity"].copy()
990-
entity.update({"location": {"start": 67, "end": 128}})
990+
entity.update({"location": {"start": 66, "end": 128}})
991991
del entity["tool"]
992992
return entity
993993

@@ -1505,7 +1505,7 @@ def expected_export_v2_text():
15051505
'end':
15061506
128,
15071507
'token':
1508-
"more people to express themselves online😞😂, research suggests"
1508+
"more people to express themselves online😞😂, research suggests"
15091509
},
15101510
}],
15111511
"classifications": [

tests/data/annotation_import/test_data_types.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -308,17 +308,17 @@ def set_project_media_type_from_data_type(project, data_type_class):
308308
@pytest.mark.parametrize(
309309
"data_type_class",
310310
[
311-
# AudioData,
312-
# HTMLData,
313-
# ImageData,
311+
AudioData,
312+
HTMLData,
313+
ImageData,
314314
TextData,
315-
# VideoData,
316-
# ConversationData,
317-
# DocumentData,
318-
# DicomData,
319-
# LlmPromptCreationData,
320-
# LlmPromptResponseCreationData,
321-
# LlmResponseCreationData,
315+
VideoData,
316+
ConversationData,
317+
DocumentData,
318+
DicomData,
319+
LlmPromptCreationData,
320+
LlmPromptResponseCreationData,
321+
LlmResponseCreationData,
322322
],
323323
)
324324
def test_import_data_types_v2(

0 commit comments

Comments
 (0)