diff options
author | David Cournapeau <cournape@gmail.com> | 2008-09-13 06:27:46 +0000 |
---|---|---|
committer | David Cournapeau <cournape@gmail.com> | 2008-09-13 06:27:46 +0000 |
commit | ec1f7831680db674dfe3f8c89ab2159b0d8ed4c1 (patch) | |
tree | 7145c5305901216a906e2b3d7f9b26731841835e /numpy/tests | |
parent | 39a7b4a1ca3de1289f6d2fe09ac3c2527dcaa1c1 (diff) | |
download | numpy-ec1f7831680db674dfe3f8c89ab2159b0d8ed4c1.tar.gz |
Tag ctypes load library tests as known failures on cygwin.
Diffstat (limited to 'numpy/tests')
-rw-r--r-- | numpy/tests/test_ctypeslib.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/numpy/tests/test_ctypeslib.py b/numpy/tests/test_ctypeslib.py index f17860db4..aad6c96af 100644 --- a/numpy/tests/test_ctypeslib.py +++ b/numpy/tests/test_ctypeslib.py @@ -1,8 +1,11 @@ +import sys + import numpy as np from numpy.ctypeslib import ndpointer, load_library from numpy.testing import * class TestLoadLibrary(TestCase): + @dec.knownfailureif(sys.platform=='cygwin', "This test is known to fail on cygwin") def test_basic(self): try: cdll = load_library('multiarray', @@ -12,6 +15,7 @@ class TestLoadLibrary(TestCase): " (import error was: %s)" % str(e) print msg + @dec.knownfailureif(sys.platform=='cygwin', "This test is known to fail on cygwin") def test_basic2(self): """Regression for #801: load_library with a full library name (including extension) does not work.""" |