diff options
Diffstat (limited to 'numpy/ma/__init__.py')
| -rw-r--r-- | numpy/ma/__init__.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/numpy/ma/__init__.py b/numpy/ma/__init__.py index 0689f2932..34f21b8b1 100644 --- a/numpy/ma/__init__.py +++ b/numpy/ma/__init__.py @@ -51,5 +51,6 @@ __all__ = ['core', 'extras'] __all__ += core.__all__ __all__ += extras.__all__ -from numpy.testing import _numpy_tester -test = _numpy_tester().test +from numpy.testing._private.pytesttester import PytestTester +test = PytestTester(__name__) +del PytestTester |
