From 80ba9eaf7dee5a946be1723dd3e739b87f72e038 Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Wed, 27 Jan 2021 21:29:02 +1100 Subject: [PATCH] Fix test --- spacy/tests/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/tests/conftest.py b/spacy/tests/conftest.py index 417b0bf1d..9209a840c 100644 --- a/spacy/tests/conftest.py +++ b/spacy/tests/conftest.py @@ -267,7 +267,7 @@ def tt_tokenizer(): @pytest.fixture(scope="session") def ky_tokenizer(): - return get_lang_class("ky").Defaults.create_tokenizer() + return get_lang_class("ky")().tokenizer @pytest.fixture(scope="session")