summaryrefslogtreecommitdiff
path: root/testing/cffi0/test_function.py
diff options
context:
space:
mode:
authorArmin Rigo <arigo@tunes.org>2015-11-23 16:11:58 +0100
committerArmin Rigo <arigo@tunes.org>2015-11-23 16:11:58 +0100
commit4f76ae1395509642cd37bd663d1df82cc2f66ca8 (patch)
tree8fb11e00db333bee69715c2aa138347c201cfb96 /testing/cffi0/test_function.py
parent5f2b11cd693cb67ada74c910236aae247e1184af (diff)
parentd54ecf308d23a7b9118fae738542c42fe7b20f61 (diff)
downloadcffi-4f76ae1395509642cd37bd663d1df82cc2f66ca8.tar.gz
hg merge default
Diffstat (limited to 'testing/cffi0/test_function.py')
-rw-r--r--testing/cffi0/test_function.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/cffi0/test_function.py b/testing/cffi0/test_function.py
index 8fdcc86..6771894 100644
--- a/testing/cffi0/test_function.py
+++ b/testing/cffi0/test_function.py
@@ -464,7 +464,7 @@ class TestFunction(object):
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: