summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArmin Rigo <arigo@tunes.org>2014-06-24 17:43:01 +0200
committerArmin Rigo <arigo@tunes.org>2014-06-24 17:43:01 +0200
commitb3fb4044dde74e800b6796a28472d28ca796da4a (patch)
tree2e116096e53814da1a8f0d488db8f3464bb382fb
parent3c20c7e046f6ac5387f41d914f2c466633272c88 (diff)
downloadcffi-b3fb4044dde74e800b6796a28472d28ca796da4a.tar.gz
pom pom pom
-rw-r--r--testing/test_verify.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/test_verify.py b/testing/test_verify.py
index f075e9d..d9092fa 100644
--- a/testing/test_verify.py
+++ b/testing/test_verify.py
@@ -172,8 +172,8 @@ 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_primitive_types = all_primitive_types.copy()
+ del all_primitive_types['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