diff --git a/spacy/tests/doc/test_token_api.py b/spacy/tests/doc/test_token_api.py index 22da293a8..3dd9935b2 100644 --- a/spacy/tests/doc/test_token_api.py +++ b/spacy/tests/doc/test_token_api.py @@ -193,6 +193,7 @@ def test_tokens_sent(doc): assert doc[1].sent.root.left_edge.text == "This" assert doc[7].sent.root.left_edge.text == "This" + def test_token0_has_sent_start_true(): doc = Doc(Vocab(), words=["hello", "world"]) assert doc[0].is_sent_start is True diff --git a/spacy/tests/regression/test_issue3328.py b/spacy/tests/regression/test_issue3328.py index 904b6feab..c397feebb 100644 --- a/spacy/tests/regression/test_issue3328.py +++ b/spacy/tests/regression/test_issue3328.py @@ -1,7 +1,6 @@ # coding: utf-8 from __future__ import unicode_literals -import pytest from spacy.matcher import Matcher from spacy.tokens import Doc