[pypy-commit] cffi default: fix
arigo
noreply at buildbot.pypy.org
Tue Nov 17 04:35:46 EST 2015
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r2410:0c0093754b62
Date: 2015-11-17 10:36 +0100
http://bitbucket.org/cffi/cffi/changeset/0c0093754b62/
Log: fix
diff --git a/testing/cffi0/test_function.py b/testing/cffi0/test_function.py
--- a/testing/cffi0/test_function.py
+++ b/testing/cffi0/test_function.py
@@ -486,7 +486,7 @@
ffi = FFI(backend=self.Backend())
ffi.cdef("double __stdcall sin(double x);") # stdcall ignored
m = ffi.dlopen(lib_m)
- if (sys.platform == 'win32' and sys.maxint < 2**32 and
+ if (sys.platform == 'win32' and sys.maxsize < 2**32 and
self.Backend is not CTypesBackend):
assert "double(__stdcall *)(double)" in str(ffi.typeof(m.sin))
else:
More information about the pypy-commit
mailing list