Make test more explicit [ci skip]

This commit is contained in:
Ines Montani 2020-10-09 12:15:26 +02:00
parent cc3646b06c
commit 4771a10503

View File

@ -617,5 +617,5 @@ def test_doc_set_ents_spans(en_tokenizer):
retokenizer.merge(span)
# If this line is uncommented, it works:
# print(spans)
doc.ents = list(doc.ents) + spans
print([ent.text for ent in doc.ents])
doc.ents = spans
assert [ent.text for ent in doc.ents] == ["Colombia", "Czech Republic"]