From 3a00c94d1c1a2a26f4102fdb5971051f07803ee2 Mon Sep 17 00:00:00 2001 From: Lars Date: Mon, 27 Nov 2023 23:50:46 +0100 Subject: [PATCH] Removed references to Python 2.x in test cases --- tests/test_to_artistic.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tests/test_to_artistic.py b/tests/test_to_artistic.py index 7d85dc9..1cb5e07 100644 --- a/tests/test_to_artistic.py +++ b/tests/test_to_artistic.py @@ -20,12 +20,6 @@ _ZBAR = True except ImportError: pass -_PYTHON2 = False -try: - unicode - _PYTHON2 = True -except NameError: - pass def decode(img, content): @@ -186,7 +180,6 @@ def test_issue_12(): assert org_img.info.get('loop', 0) == res_img.info.get('loop', 0) -@pytest.mark.skipif(_PYTHON2, reason='Requires Python >= 3.6') def test_svg_to_png(): content = "Ring my friend I said you'd call" qr = segno.make_qr(content)