Codebase list python-pyqrcode / 4d7d779
remove Python2 autopkgtest Sascha Steinbiss 3 years ago
3 changed file(s) with 6 addition(s) and 13 deletion(s). Raw diff Collapse all Expand all
0 python-pyqrcode (1.2.1-4) unstable; urgency=medium
1
2 * Remove Python2 autopkgtest.
3
4 -- Sascha Steinbiss <satta@debian.org> Tue, 17 Dec 2019 15:58:37 +0100
5
06 python-pyqrcode (1.2.1-3) unstable; urgency=medium
17
28 * Remove Python2 support.
0 Tests: test-example-py2
1 Depends: python-png, python-pyqrcode
2
30 Tests: test-example-py3
41 Depends: python3-png, python3-pyqrcode
52
+0
-10
debian/tests/test-example-py2 less more
0 #!/usr/bin/env python2
1
2 import pyqrcode
3 import os.path
4
5 qr = pyqrcode.create('Unladden swallow')
6 qr.png('famous-joke.png', scale=5)
7
8 if not os.path.exists("famous-joke.png"):
9 raise("missing file")