[Scipy-svn] r5051 - trunk/scipy/lib/lapack/tests

scipy-svn@scip... scipy-svn@scip...
Mon Nov 10 10:55:44 CST 2008


Author: cdavid
Date: 2008-11-10 10:55:40 -0600 (Mon, 10 Nov 2008)
New Revision: 5051

Modified:
   trunk/scipy/lib/lapack/tests/test_lapack.py
Log:
Handle last missing funcs in ATLAS 3.6.0 clapack.

Modified: trunk/scipy/lib/lapack/tests/test_lapack.py
===================================================================
--- trunk/scipy/lib/lapack/tests/test_lapack.py	2008-11-10 16:54:01 UTC (rev 5050)
+++ trunk/scipy/lib/lapack/tests/test_lapack.py	2008-11-10 16:55:40 UTC (rev 5051)
@@ -67,18 +67,22 @@
     def test_dgehrd(self):
         self._test_gehrd_base('dgehrd', 'F')
 
-    @dec.skipif(CLAPACK_IS_EMPTY, "Clapack empty, skip clapack test")
+    @dec.skipif(CLAPACK_IS_EMPTY or not FUNCS_CLAPACK["sgebal"], 
+                "Clapack empty, skip flapack test")
     def test_clapack_sgebal(self):
         self._test_gebal_base('sgebal', 'C')
                 
-    @dec.skipif(CLAPACK_IS_EMPTY, "Clapack empty, skip clapack test")
+    @dec.skipif(CLAPACK_IS_EMPTY or not FUNCS_CLAPACK["dgebal"], 
+                "Clapack empty, skip flapack test")
     def test_clapack_dgebal(self):
         self._test_gebal_base('dgebal', 'C')
                 
-    @dec.skipif(CLAPACK_IS_EMPTY, "Clapack empty, skip clapack test")
+    @dec.skipif(CLAPACK_IS_EMPTY or not FUNCS_CLAPACK["sgehrd"], 
+                "Clapack empty, skip flapack test")
     def test_clapack_sgehrd(self):
         self._test_gehrd_base('sgehrd', 'C')
                 
-    @dec.skipif(CLAPACK_IS_EMPTY, "Clapack empty, skip clapack test")
+    @dec.skipif(CLAPACK_IS_EMPTY or not FUNCS_CLAPACK["dgehrd"], 
+                "Clapack empty, skip flapack test")
     def test_clapack_dgehrd(self):
         self._test_gehrd_base('dgehrd', 'C')



More information about the Scipy-svn mailing list