diff options
| author | Alan McIntyre <alan.mcintyre@local> | 2008-06-21 15:50:17 +0000 |
|---|---|---|
| committer | Alan McIntyre <alan.mcintyre@local> | 2008-06-21 15:50:17 +0000 |
| commit | af7f89ea35ae9dbf38682d3215a20cc13ab0890c (patch) | |
| tree | 9be759f8f0d1107b8fddc74fc3fcbb03bcc8f1de /numpy/testing/__init__.py | |
| parent | 03fbbffca884c70d56e08d5551b001dd6b9565c6 (diff) | |
| download | numpy-af7f89ea35ae9dbf38682d3215a20cc13ab0890c.tar.gz | |
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.
Diffstat (limited to 'numpy/testing/__init__.py')
| -rw-r--r-- | numpy/testing/__init__.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/numpy/testing/__init__.py b/numpy/testing/__init__.py index 17ca80c37..06e49cf2a 100644 --- a/numpy/testing/__init__.py +++ b/numpy/testing/__init__.py @@ -10,6 +10,8 @@ from unittest import TestCase import decorators as dec from utils import * +from parametric import ParametricTestCase from numpytest import * -from pkgtester import Tester +from nosetester import NoseTester as Tester +from nosetester import run_module_suite test = Tester().test |
