summaryrefslogtreecommitdiff
path: root/numpy/fft
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2018-04-02 15:48:20 -0600
committerCharles Harris <charlesr.harris@gmail.com>2018-04-04 06:40:28 -0600
commitcf46d8cd2aa809be44b684ba234880e0aa4befe9 (patch)
treea088359008c9264d9ca6bbe7fe34c2c4440481a3 /numpy/fft
parent7e5a41de9fab731e27a761c01302a0a93e2d1070 (diff)
downloadnumpy-cf46d8cd2aa809be44b684ba234880e0aa4befe9.tar.gz
TST: Update modules `test` to PytestTester.
Numpy can now be tested using the standard `python -c"import numpy; numpy.test()"` construct.
Diffstat (limited to 'numpy/fft')
-rw-r--r--numpy/fft/__init__.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/numpy/fft/__init__.py b/numpy/fft/__init__.py
index d1716bd4b..bbb6ec8c7 100644
--- a/numpy/fft/__init__.py
+++ b/numpy/fft/__init__.py
@@ -6,5 +6,6 @@ from .info import __doc__
from .fftpack import *
from .helper import *
-from numpy.testing import _numpy_tester
-test = _numpy_tester().test
+from numpy.testing._private.pytesttester import PytestTester
+test = PytestTester(__name__)
+del PytestTester