diff options
Diffstat (limited to 'numpy/lib/__init__.py')
-rw-r--r-- | numpy/lib/__init__.py | 7 |
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 + |