mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-11 04:08:09 +03:00
Remove test for removed deprecation warning
This commit is contained in:
parent
8610252e5d
commit
793890cb4d
|
@ -160,8 +160,5 @@ def test_is_sent_start(en_tokenizer):
|
||||||
assert doc[5].is_sent_start is None
|
assert doc[5].is_sent_start is None
|
||||||
doc[5].is_sent_start = True
|
doc[5].is_sent_start = True
|
||||||
assert doc[5].is_sent_start is True
|
assert doc[5].is_sent_start is True
|
||||||
# Backwards compatibility
|
|
||||||
with pytest.warns(DeprecationWarning):
|
|
||||||
assert doc[0].sent_start is False
|
|
||||||
doc.is_parsed = True
|
doc.is_parsed = True
|
||||||
assert len(list(doc.sents)) == 2
|
assert len(list(doc.sents)) == 2
|
||||||
|
|
Loading…
Reference in New Issue
Block a user