summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArmin Rigo <arigo@tunes.org>2013-11-12 14:33:20 +0100
committerArmin Rigo <arigo@tunes.org>2013-11-12 14:33:20 +0100
commit89022de16c0b220701126154686ed644249374f8 (patch)
tree88d10018c25487e07fa8528023c822627ea51bbe
parentabd4b55ecd2310aedced37a4cba92bf963cca7a8 (diff)
downloadcffi-89022de16c0b220701126154686ed644249374f8.tar.gz
Skip half the test with MSVC
-rw-r--r--testing/test_verify.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/testing/test_verify.py b/testing/test_verify.py
index ce95bd8..a60fcb1 100644
--- a/testing/test_verify.py
+++ b/testing/test_verify.py
@@ -1601,6 +1601,8 @@ def test_enum_bug118():
(maxulong, -1, ''),
(-1, 0xffffffff, 'U'),
(-1, maxulong, 'UL')]:
+ if c2c and sys.platform == 'win32':
+ continue # enums may always be signed with MSVC
ffi = FFI()
ffi.cdef("enum foo_e { AA=%s };" % c1)
e = py.test.raises(VerificationError, ffi.verify,