mirror of
https://github.com/explosion/spaCy.git
synced 2025-02-03 13:14:11 +03:00
Fixed tests depends on pymorphy2
This commit is contained in:
parent
cacd859dcd
commit
53e7c38637
|
@ -144,6 +144,7 @@ def th_tokenizer():
|
|||
|
||||
@pytest.fixture
|
||||
def ru_tokenizer():
|
||||
pymorphy = pytest.importorskip('pymorphy2')
|
||||
return util.get_lang_class('ru').Defaults.create_tokenizer()
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user