Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 4 additions & 7 deletions tests/data/annotation_import/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -987,7 +987,7 @@ def point_inference(prediction_id_mapping):
@pytest.fixture
def entity_inference(prediction_id_mapping):
entity = prediction_id_mapping["named-entity"].copy()
entity.update({"location": {"start": 66, "end": 128}})
entity.update({"location": {"start": 112, "end": 128}})
del entity["tool"]
return entity

Expand Down Expand Up @@ -1500,12 +1500,9 @@ def expected_export_v2_text():
"annotation_kind": "TextEntity",
"classifications": [],
'location': {
'start':
66,
'end':
128,
'token':
"more people to express themselves online😞😂, research suggests"
'start': 112,
'end': 128,
'token': "research suggests"
},
}],
"classifications": [
Expand Down