1
0
mirror of https://github.com/python-escpos/python-escpos synced 2025-08-24 09:03:34 +00:00

use jaconv instead of jcconv for japanese chars

jaconv is available for more Python-versions and seems to be more
professional. Apart from that I added jaconv to the test-requirements
but not the requirements. (If the katakana-stuff really works we can
later add it as a real dependency)
This commit is contained in:
Patrick Kanzler
2016-09-27 20:26:22 +02:00
parent b795c02dd4
commit 1b2f509758
4 changed files with 14 additions and 9 deletions

View File

@@ -95,12 +95,12 @@ class TestMagicEncode:
try:
import jcconv
import jaconv
except ImportError:
jcconv = None
jaconv = None
@pytest.mark.skipif(not jcconv, reason="jcconv not installed")
@pytest.mark.skipif(not jaconv, reason="jaconv not installed")
class TestKatakana:
@given(st.text())
@example("カタカナ")