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/testing/pkgtester.py | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 numpy/testing/pkgtester.py (limited to 'numpy/testing/pkgtester.py') diff --git a/numpy/testing/pkgtester.py b/numpy/testing/pkgtester.py deleted file mode 100644 index 51e8d62c4..000000000 --- a/numpy/testing/pkgtester.py +++ /dev/null @@ -1,14 +0,0 @@ -''' Define test function for scipy package - -Module tests for presence of useful version of nose. If present -returns NoseTester, otherwise returns a placeholder test routine -reporting lack of nose and inability to run tests. Typical use is in -module __init__: - -from scipy.testing.pkgtester import Tester -test = Tester().test - -See nosetester module for test implementation - -''' -from numpy.testing.nosetester import NoseTester as Tester -- cgit v1.2.1