[Numpy-svn] r5810 - trunk/numpy/tests

numpy-svn at scipy.org numpy-svn at scipy.org
Sat Sep 13 02:28:25 EDT 2008


Author: cdavid
Date: 2008-09-13 01:27:46 -0500 (Sat, 13 Sep 2008)
New Revision: 5810

Modified:
   trunk/numpy/tests/test_ctypeslib.py
Log:
Tag ctypes load library tests as known failures on cygwin.

Modified: trunk/numpy/tests/test_ctypeslib.py
===================================================================
--- trunk/numpy/tests/test_ctypeslib.py	2008-09-13 06:03:30 UTC (rev 5809)
+++ trunk/numpy/tests/test_ctypeslib.py	2008-09-13 06:27:46 UTC (rev 5810)
@@ -1,3 +1,5 @@
+import sys
+
 import numpy as np
 from numpy.ctypeslib import ndpointer, load_library
 from numpy.testing import *
@@ -3,4 +5,5 @@
 
 class TestLoadLibrary(TestCase):
+    @dec.knownfailureif(sys.platform=='cygwin', "This test is known to fail on cygwin")
     def test_basic(self):
         try:
@@ -12,6 +15,7 @@
                   " (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."""




More information about the Numpy-svn mailing list