Update conftest.py

This commit is contained in:
Ines Montani 2019-02-25 15:55:29 +01:00
parent 76ce8b2662
commit f135d663f7

View File

@ -180,7 +180,7 @@ def tt_tokenizer():
def uk_tokenizer():
pytest.importorskip("pymorphy2")
pytest.importorskip("pymorphy2.lang")
return util.get_lang_class("uk").Defaults.create_tokenizer()
return get_lang_class("uk").Defaults.create_tokenizer()
@pytest.fixture(scope="session")