From 6b6e9b638eab4df4149958ae40996295100d2088 Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Sat, 23 Mar 2019 11:24:29 +0100 Subject: [PATCH] Fix test for #3468 --- spacy/tests/regression/test_issue3468.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/tests/regression/test_issue3468.py b/spacy/tests/regression/test_issue3468.py index 25b81861b..fc9ab0783 100644 --- a/spacy/tests/regression/test_issue3468.py +++ b/spacy/tests/regression/test_issue3468.py @@ -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