diff --git a/setup.py b/setup.py index 5f7a104fb..df6afdb2c 100755 --- a/setup.py +++ b/setup.py @@ -45,7 +45,7 @@ MOD_NAMES = [ 'spacy.syntax.ner', 'spacy.symbols', 'spacy.vectors', - 'spacy.syntax.iterators'] +] COMPILE_OPTIONS = { diff --git a/spacy/tests/regression/test_issue704.py b/spacy/tests/regression/test_issue704.py index 6ca3293ae..51f481a3f 100644 --- a/spacy/tests/regression/test_issue704.py +++ b/spacy/tests/regression/test_issue704.py @@ -11,5 +11,5 @@ def test_issue704(EN): text = '“Atticus said to Jem one day, “I’d rather you shot at tin cans in the backyard, but I know you’ll go after birds. Shoot all the blue jays you want, if you can hit ‘em, but remember it’s a sin to kill a mockingbird.”' doc = EN(text) - sents = [sent for sent in doc.sents] + sents = list([sent for sent in doc.sents]) assert len(sents) == 3