mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-13 13:17:06 +03:00
Fix conftest for website tests.
This commit is contained in:
parent
8951bf6989
commit
be48a7b4f3
|
@ -9,7 +9,7 @@ def nlp():
|
||||||
if os.environ.get('SPACY_DATA'):
|
if os.environ.get('SPACY_DATA'):
|
||||||
data_dir = os.environ.get('SPACY_DATA')
|
data_dir = os.environ.get('SPACY_DATA')
|
||||||
else:
|
else:
|
||||||
data_dir = None
|
data_dir = True
|
||||||
return English(path=data_dir)
|
return English(path=data_dir)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user