mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-26 17:24:41 +03:00
fix tests (use english model)
This commit is contained in:
parent
f2d011c034
commit
a473d6e937
|
@ -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)
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user