diff --git a/spacy/tests/parser/test_ner.py b/spacy/tests/parser/test_ner.py index fbad76db5..8329391ca 100644 --- a/spacy/tests/parser/test_ner.py +++ b/spacy/tests/parser/test_ner.py @@ -277,7 +277,7 @@ def test_change_number_features(): ) assert ner.model.lower.nF == 3 # Test the model runs - doc = nlp("hello world") + nlp("hello world") class BlockerComponent1(object): diff --git a/spacy/tests/regression/test_issue4590.py b/spacy/tests/regression/test_issue4590.py index 63e99c552..8ec9a0bd1 100644 --- a/spacy/tests/regression/test_issue4590.py +++ b/spacy/tests/regression/test_issue4590.py @@ -1,7 +1,6 @@ # coding: utf-8 from __future__ import unicode_literals -import pytest from mock import Mock from spacy.matcher import DependencyMatcher from ..util import get_doc