From 949daeaf42b3e7687eebf7eb764e63a5eec336ea Mon Sep 17 00:00:00 2001 From: Julian Taylor Date: Thu, 4 Sep 2014 00:22:08 +0200 Subject: 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 --- numpy/matrixlib/tests/test_numeric.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'numpy/matrixlib/tests/test_numeric.py') diff --git a/numpy/matrixlib/tests/test_numeric.py b/numpy/matrixlib/tests/test_numeric.py index fa88f5288..3588de5e6 100644 --- a/numpy/matrixlib/tests/test_numeric.py +++ b/numpy/matrixlib/tests/test_numeric.py @@ -1,6 +1,6 @@ from __future__ import division, absolute_import, print_function -from numpy.testing import assert_equal, TestCase +from numpy.testing import assert_equal, TestCase, run_module_suite from numpy.core import ones from numpy import matrix @@ -8,3 +8,6 @@ class TestDot(TestCase): def test_matscalar(self): b1 = matrix(ones((3, 3), dtype=complex)) assert_equal(b1*1.0, b1) + +if __name__ == "__main__": + run_module_suite() -- cgit v1.2.1