Auto-format

This commit is contained in:
Ines Montani 2019-02-27 11:56:45 +01:00
parent d7217513c9
commit e359bdd0e3
2 changed files with 1 additions and 1 deletions

View File

@ -193,6 +193,7 @@ def test_tokens_sent(doc):
assert doc[1].sent.root.left_edge.text == "This" assert doc[1].sent.root.left_edge.text == "This"
assert doc[7].sent.root.left_edge.text == "This" assert doc[7].sent.root.left_edge.text == "This"
def test_token0_has_sent_start_true(): def test_token0_has_sent_start_true():
doc = Doc(Vocab(), words=["hello", "world"]) doc = Doc(Vocab(), words=["hello", "world"])
assert doc[0].is_sent_start is True assert doc[0].is_sent_start is True

View File

@ -1,7 +1,6 @@
# coding: utf-8 # coding: utf-8
from __future__ import unicode_literals from __future__ import unicode_literals
import pytest
from spacy.matcher import Matcher from spacy.matcher import Matcher
from spacy.tokens import Doc from spacy.tokens import Doc