diff --git a/spacy/tests/serialize/test_packer.py b/spacy/tests/serialize/test_packer.py index 392cba8e3..1f78da974 100644 --- a/spacy/tests/serialize/test_packer.py +++ b/spacy/tests/serialize/test_packer.py @@ -24,7 +24,7 @@ from spacy.serialize.bits import BitArray def vocab(): data_dir = os.environ.get('SPACY_DATA') if data_dir is None: - package = util.get_package_by_name() + package = util.get_package_by_name('en') else: package = util.get_package(data_dir) diff --git a/spacy/tests/tagger/test_lemmatizer.py b/spacy/tests/tagger/test_lemmatizer.py index af85645a6..aaf698fa3 100644 --- a/spacy/tests/tagger/test_lemmatizer.py +++ b/spacy/tests/tagger/test_lemmatizer.py @@ -14,7 +14,7 @@ import pytest def package(): data_dir = os.environ.get('SPACY_DATA') if data_dir is None: - return util.get_package_by_name() + return util.get_package_by_name('en') else: return util.get_package(data_dir)