mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-10 19:57:17 +03:00
Add importorskip for Japanese fixture
This commit is contained in:
parent
bcf2b9b4f5
commit
95050201ce
|
@ -84,6 +84,7 @@ def ja_tokenizer():
|
|||
|
||||
@pytest.fixture
|
||||
def japanese():
|
||||
pytest.importorskip("MeCab")
|
||||
return Japanese()
|
||||
|
||||
@pytest.fixture
|
||||
|
|
Loading…
Reference in New Issue
Block a user