From af7f89ea35ae9dbf38682d3215a20cc13ab0890c Mon Sep 17 00:00:00 2001 From: Alan McIntyre Date: Sat, 21 Jun 2008 15:50:17 +0000 Subject: Restore old test framework classes. Added numpy.testing.run_module_suite to simplify "if __name__ == '__main__'" boilerplate code in test modules. Removed numpy/testing/pkgtester.py since it just consisted of an import statement after porting SciPy r4424. Allow numpy.*.test() to accept the old keyword arguments (but issue a deprecation warning when old arguments are seen). numpy.*.test() returns a test result object as before. Fixed typo in distutils doc. --- numpy/oldnumeric/tests/test_oldnumeric.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/oldnumeric/tests/test_oldnumeric.py') diff --git a/numpy/oldnumeric/tests/test_oldnumeric.py b/numpy/oldnumeric/tests/test_oldnumeric.py index 6e641c756..e182a1a31 100644 --- a/numpy/oldnumeric/tests/test_oldnumeric.py +++ b/numpy/oldnumeric/tests/test_oldnumeric.py @@ -83,4 +83,4 @@ class test_oldtypes(NumPyTestCase): if __name__ == "__main__": - nose.run(argv=['', __file__]) + run_module_suite() -- cgit v1.2.1