diff options
author | Julian Taylor <jtaylor.debian@googlemail.com> | 2014-09-04 00:22:08 +0200 |
---|---|---|
committer | Julian Taylor <jtaylor.debian@googlemail.com> | 2014-09-04 20:01:09 +0200 |
commit | 949daeaf42b3e7687eebf7eb764e63a5eec336ea (patch) | |
tree | 2b61cb5ff177ac801a4a083dd98804e7befc16aa /numpy/linalg/tests | |
parent | 03dcd3b754d9a618c0c2c8c72bb225565758bbf5 (diff) | |
download | numpy-949daeaf42b3e7687eebf7eb764e63a5eec336ea.tar.gz |
TST: pass sys.argv to run_module_suite by default
allows passing flags like --pdb to test files
also add call to files where its missing
Diffstat (limited to 'numpy/linalg/tests')
-rw-r--r-- | numpy/linalg/tests/test_build.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/numpy/linalg/tests/test_build.py b/numpy/linalg/tests/test_build.py index 0d237c81c..6e93dae6c 100644 --- a/numpy/linalg/tests/test_build.py +++ b/numpy/linalg/tests/test_build.py @@ -1,12 +1,11 @@ from __future__ import division, absolute_import, print_function -from subprocess import call, PIPE, Popen +from subprocess import PIPE, Popen import sys import re -import numpy as np from numpy.linalg import lapack_lite -from numpy.testing import TestCase, dec +from numpy.testing import TestCase, dec, run_module_suite from numpy.compat import asbytes_nested @@ -51,3 +50,6 @@ class TestF77Mismatch(TestCase): """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.""") + +if __name__ == "__main__": + run_module_suite() |