Author: Armin Rigo <ar...@tunes.org>
Branch: cffi-1.0
Changeset: r1883:dd6bfefe3e78
Date: 2015-04-29 22:35 +0200
http://bitbucket.org/cffi/cffi/changeset/dd6bfefe3e78/

Log:    Python 3 compat

diff --git a/_cffi1/test_verify1.py b/_cffi1/test_verify1.py
--- a/_cffi1/test_verify1.py
+++ b/_cffi1/test_verify1.py
@@ -1733,7 +1733,7 @@
                     (-1, ''),
                     (0xffffffff, 'U'),
                     (maxulong, 'UL'),
-                    (-maxulong / 3, 'L')]:
+                    (-int(maxulong / 3), 'L')]:
         if c2c and sys.platform == 'win32':
             continue     # enums may always be signed with MSVC
         ffi = FFI()
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to