[Numpy-svn] r8232 - trunk/numpy/linalg/tests

numpy-svn@scip... numpy-svn@scip...
Sat Feb 20 21:51:48 CST 2010


Author: charris
Date: 2010-02-20 21:51:48 -0600 (Sat, 20 Feb 2010)
New Revision: 8232

Modified:
   trunk/numpy/linalg/tests/test_build.py
Log:
DEP: Fix one more deprecated unittest function.

Modified: trunk/numpy/linalg/tests/test_build.py
===================================================================
--- trunk/numpy/linalg/tests/test_build.py	2010-02-21 03:34:02 UTC (rev 8231)
+++ trunk/numpy/linalg/tests/test_build.py	2010-02-21 03:51:48 UTC (rev 8232)
@@ -44,7 +44,7 @@
         f = FindDependenciesLdd()
         deps = f.grep_dependencies(lapack_lite.__file__,
                                    asbytes_nested(['libg2c', 'libgfortran']))
-        self.failIf(len(deps) > 1,
+        self.assertFalse(len(deps) > 1,
 """Both g77 and gfortran runtimes linked in lapack_lite ! This is likely to
 cause random crashes and wrong results. See numpy INSTALL.txt for more
 information.""")



More information about the Numpy-svn mailing list