diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2015-07-25 16:42:23 -0600 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2015-07-25 16:42:23 -0600 |
commit | 64a8e2ad3152d15ab07ecd8e36852903a6e0a13d (patch) | |
tree | 24cd163caad743b2a2cf8bbb386c8b6b106c3826 /numpy/linalg/tests/test_build.py | |
parent | 0aef5ece227cbbd2247cf57ba402b8a53c504216 (diff) | |
download | numpy-64a8e2ad3152d15ab07ecd8e36852903a6e0a13d.tar.gz |
STY: PEP8 and pyflakes fixes for numpy/linalg/tests.
Diffstat (limited to 'numpy/linalg/tests/test_build.py')
-rw-r--r-- | numpy/linalg/tests/test_build.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/numpy/linalg/tests/test_build.py b/numpy/linalg/tests/test_build.py index 6e93dae6c..dfb154190 100644 --- a/numpy/linalg/tests/test_build.py +++ b/numpy/linalg/tests/test_build.py @@ -9,7 +9,9 @@ from numpy.testing import TestCase, dec, run_module_suite from numpy.compat import asbytes_nested + class FindDependenciesLdd(object): + def __init__(self): self.cmd = ['ldd'] @@ -39,7 +41,9 @@ class FindDependenciesLdd(object): return founds + class TestF77Mismatch(TestCase): + @dec.skipif(not(sys.platform[:5] == 'linux'), "Skipping fortran compiler mismatch on non Linux platform") def test_lapack(self): @@ -47,7 +51,7 @@ class TestF77Mismatch(TestCase): deps = f.grep_dependencies(lapack_lite.__file__, asbytes_nested(['libg2c', 'libgfortran'])) self.assertFalse(len(deps) > 1, -"""Both g77 and gfortran runtimes linked in lapack_lite ! This is likely to + """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.""") |