[pypy-commit] cffi default: Py3 syntax

arigo noreply at buildbot.pypy.org
Fri Mar 13 09:44:48 CET 2015


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r1667:16bbcade234c
Date: 2015-03-13 09:43 +0100
http://bitbucket.org/cffi/cffi/changeset/16bbcade234c/

Log:	Py3 syntax

diff --git a/testing/test_zintegration.py b/testing/test_zintegration.py
--- a/testing/test_zintegration.py
+++ b/testing/test_zintegration.py
@@ -26,7 +26,10 @@
                 if e.errno in (errno.ENOTDIR, errno.EINVAL):
                     shutil.copy(src, dst)
                 else:
-                    print 'got errno',e.errno,'not',errno.ENOTDIR
+                    print('got errno')
+                    print(e.errno)
+                    print('not')
+                    print(errno.ENOTDIR)
                     raise
 
     site_packages = None


More information about the pypy-commit mailing list