Skip to content

Commit

Permalink
Removed references to Python 2.x in test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
heuer committed Nov 27, 2023
1 parent d0500ec commit 3a00c94
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions tests/test_to_artistic.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,6 @@
_ZBAR = True
except ImportError:
pass
_PYTHON2 = False
try:
unicode
_PYTHON2 = True
except NameError:
pass


def decode(img, content):
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 3a00c94

Please sign in to comment.