diff options
Diffstat (limited to 'numpy/testing/numpytest.py')
-rw-r--r-- | numpy/testing/numpytest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/testing/numpytest.py b/numpy/testing/numpytest.py index e2735d2fa..4a69e05e3 100644 --- a/numpy/testing/numpytest.py +++ b/numpy/testing/numpytest.py @@ -627,7 +627,7 @@ class NumpyTest: class ScipyTest(NumpyTest): def __init__(self, package=None): warnings.warn("ScipyTest is now called NumpyTest; please update your code", - DeprecationWarning) + DeprecationWarning, stacklevel=2) NumpyTest.__init__(self, package) |