diff options
Diffstat (limited to 'numpy/random/__init__.py')
| -rw-r--r-- | numpy/random/__init__.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/numpy/random/__init__.py b/numpy/random/__init__.py index 409f50ec0..81cb94cc1 100644 --- a/numpy/random/__init__.py +++ b/numpy/random/__init__.py @@ -117,5 +117,6 @@ def __RandomState_ctor(): """ return RandomState(seed=0) -from numpy.testing import _numpy_tester -test = _numpy_tester().test +from numpy.testing._private.pytesttester import PytestTester +test = PytestTester(__name__) +del PytestTester |
