summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArmin Rigo <arigo@tunes.org>2014-06-24 17:40:29 +0200
committerArmin Rigo <arigo@tunes.org>2014-06-24 17:40:29 +0200
commit3c20c7e046f6ac5387f41d914f2c466633272c88 (patch)
treec7f499f8f7a143e6fe16d560b98dee0b9e1d9d5d
parentb746779f2771dd644c6202d50a8601009d91e03d (diff)
downloadcffi-3c20c7e046f6ac5387f41d914f2c466633272c88.tar.gz
Generalize 105930aef686
-rw-r--r--testing/test_verify.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/testing/test_verify.py b/testing/test_verify.py
index 4bf0130..f075e9d 100644
--- a/testing/test_verify.py
+++ b/testing/test_verify.py
@@ -171,6 +171,9 @@ def test_longdouble_precision():
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 @@ def test_all_integer_and_float_types():
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)
#