mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-12 18:26:30 +03:00
Fix test for #3468
This commit is contained in:
parent
fbec72b4c3
commit
6b6e9b638e
|
@ -18,6 +18,6 @@ def test_issue3468():
|
|||
assert len(list(doc.sents)) == 1
|
||||
doc_bytes = doc.to_bytes()
|
||||
new_doc = Doc(nlp.vocab).from_bytes(doc_bytes)
|
||||
assert doc[0].is_sent_start
|
||||
assert new_doc[0].is_sent_start
|
||||
assert new_doc.is_sentenced
|
||||
assert len(list(new_doc.sents)) == 1
|
||||
|
|
Loading…
Reference in New Issue
Block a user