summaryrefslogtreecommitdiff
path: root/numpy/lib/__init__.py
diff options
context:
space:
mode:
authorAlan McIntyre <alan.mcintyre@local>2008-06-17 00:23:20 +0000
committerAlan McIntyre <alan.mcintyre@local>2008-06-17 00:23:20 +0000
commitc331857d8663ecf54bbe88c834755da749e8ab52 (patch)
treef4cc69ec328a5ff4d3b108f3610acb119a196493 /numpy/lib/__init__.py
parent22ba7886a84dc6a16ca75871f7cd2f10ef8de1f9 (diff)
downloadnumpy-c331857d8663ecf54bbe88c834755da749e8ab52.tar.gz
Switched to use nose to run tests. Added test and bench functions to all modules.
Diffstat (limited to 'numpy/lib/__init__.py')
-rw-r--r--numpy/lib/__init__.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/numpy/lib/__init__.py b/numpy/lib/__init__.py
index b011095f3..643320bc0 100644
--- a/numpy/lib/__init__.py
+++ b/numpy/lib/__init__.py
@@ -34,6 +34,7 @@ __all__ += arraysetops.__all__
__all__ += io.__all__
__all__ += financial.__all__
-def test(level=1, verbosity=1):
- from numpy.testing import NumpyTest
- return NumpyTest().test(level, verbosity)
+from numpy.testing.pkgtester import Tester
+test = Tester().test
+bench = Tester().bench
+