jcconf not available on Python 3.

This commit is contained in:
Michael Elsdörfer 2016-08-30 18:07:56 +02:00
parent ddc93d7369
commit a435b66006
1 changed files with 7 additions and 0 deletions

View File

@ -94,6 +94,13 @@ class TestMagicEncode:
assert driver.output == b'\x1bt\x00? ist teuro.'
try:
import jcconv
except ImportError:
jcconv = None
@pytest.mark.skipif(not jcconv, reason="jcconv not installed")
class TestKatakana:
@given(st.text())
@example("カタカナ")