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/compat | |
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/compat')
-rw-r--r-- | numpy/compat/tests/test_compat.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/numpy/compat/tests/test_compat.py b/numpy/compat/tests/test_compat.py index f2bba59e6..9822ab374 100644 --- a/numpy/compat/tests/test_compat.py +++ b/numpy/compat/tests/test_compat.py @@ -1,7 +1,7 @@ from os.path import join from numpy.compat import isfileobj -from numpy.testing import assert_ +from numpy.testing import assert_, run_module_suite from numpy.testing.utils import tempdir @@ -17,3 +17,7 @@ def test_isfileobj(): with open(filename, 'rb') as f: assert_(isfileobj(f)) + + +if __name__ == "__main__": + run_module_suite() |