Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r2346:b9031351ecbd
Date: 2015-10-16 09:47 +0200
http://bitbucket.org/cffi/cffi/changeset/b9031351ecbd/

Log:    win64 fix

diff --git a/testing/cffi1/test_realize_c_type.py 
b/testing/cffi1/test_realize_c_type.py
--- a/testing/cffi1/test_realize_c_type.py
+++ b/testing/cffi1/test_realize_c_type.py
@@ -53,7 +53,7 @@
     ffi = _cffi_backend.FFI()
     ct = ffi.typeof(ffi.callback(input, lambda: None))
     assert isinstance(ct, ffi.CType)
-    if sys.platform != 'win32':
+    if sys.platform != 'win32' or sys.maxsize > 2**32:
         expected_output = expected_output.replace('__stdcall *', '*')
     assert ct.cname == expected_output
 
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to