From a435b66006994f1826c745947b108e5ee3e2719a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Elsd=C3=B6rfer?= Date: Tue, 30 Aug 2016 18:07:56 +0200 Subject: [PATCH] jcconf not available on Python 3. --- test/test_magicencode.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/test_magicencode.py b/test/test_magicencode.py index 60a5a66..d3d3121 100644 --- a/test/test_magicencode.py +++ b/test/test_magicencode.py @@ -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("カタカナ")