[pypy-commit] cffi default: Skip the sinf test on windows

arigo noreply at buildbot.pypy.org
Fri Mar 7 07:48:39 CET 2014


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r1477:856e8185c32f
Date: 2014-03-07 07:48 +0100
http://bitbucket.org/cffi/cffi/changeset/856e8185c32f/

Log:	Skip the sinf test on windows

diff --git a/testing/test_function.py b/testing/test_function.py
--- a/testing/test_function.py
+++ b/testing/test_function.py
@@ -54,6 +54,8 @@
         assert x == math.sin(1.23)
 
     def test_sinf(self):
+        if sys.platform == 'win32':
+            py.test.skip("no sinf found in the Windows stdlib")
         ffi = FFI(backend=self.Backend())
         ffi.cdef("""
             float sinf(float x);


More information about the pypy-commit mailing list