[pypy-commit] cffi default: OS/X fix: clang has got a warning enabled by default here

arigo pypy.commits at gmail.com
Sat Jan 16 09:50:11 EST 2016


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r2597:8a197405b239
Date: 2016-01-16 15:48 +0100
http://bitbucket.org/cffi/cffi/changeset/8a197405b239/

Log:	OS/X fix: clang has got a warning enabled by default here

diff --git a/testing/cffi0/test_verify.py b/testing/cffi0/test_verify.py
--- a/testing/cffi0/test_verify.py
+++ b/testing/cffi0/test_verify.py
@@ -91,8 +91,8 @@
     assert lib.sin(1.23) == math.sin(1.23)
 
 def _Wconversion(cdef, source, **kargs):
-    if sys.platform == 'win32':
-        py.test.skip("needs GCC or Clang")
+    if sys.platform in ('win32', 'darwin'):
+        py.test.skip("needs GCC")
     ffi = FFI()
     ffi.cdef(cdef)
     py.test.raises(VerificationError, ffi.verify, source, **kargs)


More information about the pypy-commit mailing list