From e3da5954368401ae17cf3df1b6b1b4718080a3ea Mon Sep 17 00:00:00 2001 From: Val Brodsky Date: Fri, 29 Mar 2024 11:59:24 -0700 Subject: [PATCH] Update test result data for TextData row export --- tests/data/annotation_import/conftest.py | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/tests/data/annotation_import/conftest.py b/tests/data/annotation_import/conftest.py index 0e6ba9604..2fa420714 100644 --- a/tests/data/annotation_import/conftest.py +++ b/tests/data/annotation_import/conftest.py @@ -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 @@ -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": [