summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArmin Rigo <arigo@tunes.org>2014-03-07 07:48:28 +0100
committerArmin Rigo <arigo@tunes.org>2014-03-07 07:48:28 +0100
commit5e77026a2d4224ab94b7fc0ed37b9823d34a9a60 (patch)
treeb186bff5a02dd5f44e1a82c85c1354b0715df92d
parentec237ee867465998f9e0ce58b859fb2096d611b2 (diff)
downloadcffi-5e77026a2d4224ab94b7fc0ed37b9823d34a9a60.tar.gz
Skip the sinf test on windows
-rw-r--r--testing/test_function.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/testing/test_function.py b/testing/test_function.py
index 85180bf..aab35de 100644
--- a/testing/test_function.py
+++ b/testing/test_function.py
@@ -54,6 +54,8 @@ class TestFunction(object):
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);