summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_arraysetops.py
diff options
context:
space:
mode:
authorAlan McIntyre <alan.mcintyre@local>2008-06-21 15:50:17 +0000
committerAlan McIntyre <alan.mcintyre@local>2008-06-21 15:50:17 +0000
commitaf7f89ea35ae9dbf38682d3215a20cc13ab0890c (patch)
tree9be759f8f0d1107b8fddc74fc3fcbb03bcc8f1de /numpy/lib/tests/test_arraysetops.py
parent03fbbffca884c70d56e08d5551b001dd6b9565c6 (diff)
downloadpython-numpy-af7f89ea35ae9dbf38682d3215a20cc13ab0890c.tar.gz
python-numpy-af7f89ea35ae9dbf38682d3215a20cc13ab0890c.tar.bz2
python-numpy-af7f89ea35ae9dbf38682d3215a20cc13ab0890c.zip
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/lib/tests/test_arraysetops.py')
-rw-r--r--numpy/lib/tests/test_arraysetops.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/tests/test_arraysetops.py b/numpy/lib/tests/test_arraysetops.py
index ca505e9c5..0a15aa8b0 100644
--- a/numpy/lib/tests/test_arraysetops.py
+++ b/numpy/lib/tests/test_arraysetops.py
@@ -172,4 +172,4 @@ class TestAso(TestCase):
if __name__ == "__main__":
- nose.run(argv=['', __file__])
+ run_module_suite()