Add importorskip for Japanese fixture

This commit is contained in:
Paul O'Leary McCann 2017-08-22 21:30:59 +09:00
parent bcf2b9b4f5
commit 95050201ce

View File

@ -84,6 +84,7 @@ def ja_tokenizer():
@pytest.fixture
def japanese():
pytest.importorskip("MeCab")
return Japanese()
@pytest.fixture