mirror of
https://github.com/explosion/spaCy.git
synced 2025-04-22 10:02:01 +03:00
Remove unnecessary conversion to tuple
This commit is contained in:
parent
31cd5141bd
commit
664cbe2867
|
@ -120,7 +120,7 @@ def test_issue242(en_tokenizer):
|
|||
# One token can only be part of one entity, so test that the matches
|
||||
# can't be added as entities
|
||||
matches_spans = matcher(doc, as_spans=True)
|
||||
doc.ents += tuple(matches_spans)
|
||||
doc.ents += matches_spans
|
||||
|
||||
|
||||
@pytest.mark.issue(587)
|
||||
|
|
Loading…
Reference in New Issue
Block a user