From 5bf9ab5b034dea84afb6919e817c395f27262f2e Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Wed, 20 Nov 2019 13:16:33 +0100 Subject: [PATCH] Tidy up and auto-format --- spacy/tests/parser/test_ner.py | 2 +- spacy/tests/regression/test_issue4590.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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