]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blame - python3-cairo/patches/pycairo-1.10.0-test-python3.patch
Merge branch 'master' of ssh://git.ipfire.org/pub/git/ipfire-3.x
[people/amarx/ipfire-3.x.git] / python3-cairo / patches / pycairo-1.10.0-test-python3.patch
CommitLineData
d0873e09
MT
1diff -up pycairo-1.10.0/test/examples_test.py~ pycairo-1.10.0/test/examples_test.py
2--- pycairo-1.10.0/test/examples_test.py~ 2010-05-29 08:28:35.000000000 +0300
3+++ pycairo-1.10.0/test/examples_test.py 2013-12-20 22:53:07.806217741 +0200
4@@ -14,7 +14,7 @@ def test_snippets():
5 examples/cairo_snippets/snippets/
6 '''
7 def doSnippets(name):
8- retcode = subprocess.call('python %s -s' % name, shell=True)
9+ retcode = subprocess.call('python3 %s -s' % name, shell=True)
10 assert retcode == 0, 'Error: retcode == {0}'.format(retcode)
11
12 os.chdir(os.path.join(os.path.dirname(__file__), '..', 'examples',