Skip to content

Commit e3da595

Browse files
author
Val Brodsky
committed
Update test result data for TextData row export
1 parent 3d31936 commit e3da595

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

tests/data/annotation_import/conftest.py

Lines changed: 4 additions & 7 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": 66, "end": 128}})
990+
entity.update({"location": {"start": 112, "end": 128}})
991991
del entity["tool"]
992992
return entity
993993

@@ -1500,12 +1500,9 @@ def expected_export_v2_text():
15001500
"annotation_kind": "TextEntity",
15011501
"classifications": [],
15021502
'location': {
1503-
'start':
1504-
66,
1505-
'end':
1506-
128,
1507-
'token':
1508-
"more people to express themselves online😞😂, research suggests"
1503+
'start': 112,
1504+
'end': 128,
1505+
'token': "research suggests"
15091506
},
15101507
}],
15111508
"classifications": [

0 commit comments

Comments
 (0)