Skip to content

Commit

Permalink
Update test result data for TextData row export
Browse files Browse the repository at this point in the history
  • Loading branch information
vbrodsky committed Mar 29, 2024
1 parent 3d31936 commit e3da595
Showing 1 changed file with 4 additions and 7 deletions.
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

0 comments on commit e3da595

Please sign in to comment.