fix thai test

This commit is contained in:
Wannaphong Phatthiyaphaibun 2017-09-26 23:54:15 +07:00
parent 3d5046c499
commit 7b5263ffa4

View File

@ -110,6 +110,7 @@ def nb_tokenizer():
@pytest.fixture
def th_tokenizer():
pythainlp = pytest.importorskip("pythainlp")
return util.get_lang_class('th').Defaults.create_tokenizer()