mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-07 13:44:55 +03:00
Add mypy ignore.
This commit is contained in:
parent
513b6370f4
commit
af47a4ad46
|
@ -715,7 +715,7 @@ def test_span_sentence_mapping(use_double_space: bool):
|
||||||
|
|
||||||
# Test span-to-sentence mapping. Since the span in question doesn't cross sentence boundaries, there should only be
|
# Test span-to-sentence mapping. Since the span in question doesn't cross sentence boundaries, there should only be
|
||||||
# one sentence.
|
# one sentence.
|
||||||
span_sents = list(span.sents)
|
span_sents = list(span.sents) # type: ignore
|
||||||
span_sent = span.sent
|
span_sent = span.sent
|
||||||
assert len(span_sents) == 1
|
assert len(span_sents) == 1
|
||||||
assert span_sent.text == sents[1].text
|
assert span_sent.text == sents[1].text
|
||||||
|
|
Loading…
Reference in New Issue
Block a user