Fix test util imports

This commit is contained in:
Ines Montani 2019-11-21 16:28:29 +01:00
parent 8f7ab70870
commit 5d4eede1e4
2 changed files with 4 additions and 3 deletions

View File

@ -3,9 +3,9 @@ from __future__ import unicode_literals
import srsly import srsly
from spacy.gold import GoldCorpus from spacy.gold import GoldCorpus
from spacy.lang.en import English from spacy.lang.en import English
from spacy.tests.util import make_tempdir
from ..util import make_tempdir
def test_issue4402(): def test_issue4402():

View File

@ -3,7 +3,8 @@ from __future__ import unicode_literals
from spacy.lang.en import English from spacy.lang.en import English
from spacy.pipeline import EntityRuler from spacy.pipeline import EntityRuler
from spacy.tests.util import make_tempdir
from ..util import make_tempdir
def test_issue4651_with_phrase_matcher_attr(): def test_issue4651_with_phrase_matcher_attr():