[Scipy-svn] r4688 - trunk/scipy/weave/tests

scipy-svn@scip... scipy-svn@scip...
Thu Sep 4 15:22:29 CDT 2008


Author: alan.mcintyre
Date: 2008-09-04 15:22:25 -0500 (Thu, 04 Sep 2008)
New Revision: 4688

Modified:
   trunk/scipy/weave/tests/test_scxx_dict.py
Log:
Use numpy.testing.dec.knownfailureif instead of skipknownfailure (which 
was removed) .


Modified: trunk/scipy/weave/tests/test_scxx_dict.py
===================================================================
--- trunk/scipy/weave/tests/test_scxx_dict.py	2008-09-04 19:41:11 UTC (rev 4687)
+++ trunk/scipy/weave/tests/test_scxx_dict.py	2008-09-04 20:22:25 UTC (rev 4688)
@@ -9,7 +9,6 @@
 from scipy.weave import inline_tools
 
 
-
 class TestDictConstruct(TestCase):
     #------------------------------------------------------------------------
     # Check that construction from basic types is allowed and have correct
@@ -111,7 +110,7 @@
     def test_char(self):
         self.generic_get('return_val = a["b"];')
 
-    @dec.skipknownfailure
+    @dec.knownfailureif(True)
     @dec.slow
     def test_char_fail(self):
         # We can't through a KeyError for dicts on RHS of
@@ -134,7 +133,7 @@
                """
         self.generic_get(code,['a'])
 
-    @dec.skipknownfailure
+    @dec.knownfailureif(True)
     @dec.slow
     def test_obj_fail(self):
         # We can't through a KeyError for dicts on RHS of



More information about the Scipy-svn mailing list