[Scipy-svn] r5428 - branches/0.7.x/scipy/sparse/linalg/isolve/tests

scipy-svn@scip... scipy-svn@scip...
Sat Jan 10 05:32:42 CST 2009


Author: cdavid
Date: 2009-01-10 05:32:37 -0600 (Sat, 10 Jan 2009)
New Revision: 5428

Modified:
   branches/0.7.x/scipy/sparse/linalg/isolve/tests/test_iterative.py
Log:
Tag #842 failure on windows as known failures.

Modified: branches/0.7.x/scipy/sparse/linalg/isolve/tests/test_iterative.py
===================================================================
--- branches/0.7.x/scipy/sparse/linalg/isolve/tests/test_iterative.py	2009-01-10 11:15:55 UTC (rev 5427)
+++ branches/0.7.x/scipy/sparse/linalg/isolve/tests/test_iterative.py	2009-01-10 11:32:37 UTC (rev 5428)
@@ -1,6 +1,7 @@
 #!/usr/bin/env python
 """ Test functions for the sparse.linalg.isolve module
 """
+import sys
 
 from numpy.testing import *
 
@@ -63,6 +64,7 @@
         #A = spdiags( data, [0,-1], 10, 10, format='csr')
         #self.cases.append( (A,False,True) )
 
+    @dec.knownfailureif(sys.platform=='win32', "This test is known to fail on windows")
     def test_maxiter(self):
         """test whether maxiter is respected"""
 
@@ -82,6 +84,7 @@
             assert_equal(len(residuals), 3)
             assert_equal(info, 3)
 
+    @dec.knownfailureif(sys.platform=='win32', "This test is known to fail on windows")
     def test_convergence(self):
         """test whether all methods converge"""
 
@@ -102,6 +105,7 @@
 
                 assert( norm(b - A*x) < tol*norm(b) )
 
+    @dec.knownfailureif(sys.platform=='win32', "This test is known to fail on windows")
     def test_precond(self):
         """test whether all methods accept a trivial preconditioner"""
 



More information about the Scipy-svn mailing list