Author: Armin Rigo <[email protected]>
Branch:
Changeset: r1527:4e1d020f98d1
Date: 2014-06-24 17:40 +0200
http://bitbucket.org/cffi/cffi/changeset/4e1d020f98d1/
Log: Generalize 105930aef686
diff --git a/testing/test_verify.py b/testing/test_verify.py
--- a/testing/test_verify.py
+++ b/testing/test_verify.py
@@ -171,6 +171,9 @@
all_primitive_types = model.PrimitiveType.ALL_PRIMITIVE_TYPES
+if sys.platform == 'win32':
+ all_primitive_types = all_primitive_types[:]
+ all_primitive_types.remove('ssize_t')
all_integer_types = sorted(tp for tp in all_primitive_types
if all_primitive_types[tp] == 'i')
all_float_types = sorted(tp for tp in all_primitive_types
@@ -199,8 +202,6 @@
if (all_primitive_types[typename] == 'c' or
typename == '_Bool' or typename == 'long double'):
pass
- elif typename == 'ssize_t' and sys.platform == 'win32':
- pass
else:
typenames.append(typename)
#
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit