mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-28 02:46:35 +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
|
@pytest.fixture
|
||||||
def japanese():
|
def japanese():
|
||||||
|
pytest.importorskip("MeCab")
|
||||||
return Japanese()
|
return Japanese()
|
||||||
|
|
||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
|
|
Loading…
Reference in New Issue
Block a user