From 3bc5ce3e5bfe8599f81a9970a61b5e401629514c Mon Sep 17 00:00:00 2001 From: Charles Harris Date: Sun, 21 Feb 2010 03:51:48 +0000 Subject: DEP: Fix one more deprecated unittest function. --- numpy/linalg/tests/test_build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/linalg/tests') diff --git a/numpy/linalg/tests/test_build.py b/numpy/linalg/tests/test_build.py index bf1ff3a9f..6b6c24d61 100644 --- a/numpy/linalg/tests/test_build.py +++ b/numpy/linalg/tests/test_build.py @@ -44,7 +44,7 @@ class TestF77Mismatch(TestCase): 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.""") -- cgit v1.2.1