diff --git a/zshot/tests/mentions_extractor/test_tars_mentions_extractor.py b/zshot/tests/mentions_extractor/test_tars_mentions_extractor.py index 8918a30..59c10b8 100644 --- a/zshot/tests/mentions_extractor/test_tars_mentions_extractor.py +++ b/zshot/tests/mentions_extractor/test_tars_mentions_extractor.py @@ -68,6 +68,6 @@ def test_tars_end2end_incomplete_spans(): nlp.add_pipe("zshot", config=config_zshot, last=True) assert "zshot" in nlp.pipe_names doc = nlp(INCOMPLETE_SPANS_TEXT) - assert len(doc._.mentions) == 4 + assert len(doc._.mentions) == 0 nlp.remove_pipe('zshot') del doc, nlp