From 5d4eede1e4f792c2d96376895704586318328e1e Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Thu, 21 Nov 2019 16:28:29 +0100 Subject: [PATCH] Fix test util imports --- spacy/tests/regression/test_issue4402.py | 4 ++-- spacy/tests/regression/test_issue4651.py | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/spacy/tests/regression/test_issue4402.py b/spacy/tests/regression/test_issue4402.py index 2e1b69000..d3b4bdf9a 100644 --- a/spacy/tests/regression/test_issue4402.py +++ b/spacy/tests/regression/test_issue4402.py @@ -3,9 +3,9 @@ from __future__ import unicode_literals import srsly from spacy.gold import GoldCorpus - from spacy.lang.en import English -from spacy.tests.util import make_tempdir + +from ..util import make_tempdir def test_issue4402(): diff --git a/spacy/tests/regression/test_issue4651.py b/spacy/tests/regression/test_issue4651.py index eeab4b758..eb49f4a38 100644 --- a/spacy/tests/regression/test_issue4651.py +++ b/spacy/tests/regression/test_issue4651.py @@ -3,7 +3,8 @@ from __future__ import unicode_literals from spacy.lang.en import English from spacy.pipeline import EntityRuler -from spacy.tests.util import make_tempdir + +from ..util import make_tempdir def test_issue4651_with_phrase_matcher_attr():