summaryrefslogtreecommitdiff
path: root/numpy/testing/numpytest.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/testing/numpytest.py')
-rw-r--r--numpy/testing/numpytest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/testing/numpytest.py b/numpy/testing/numpytest.py
index 4a69e05e3..e8bbac440 100644
--- a/numpy/testing/numpytest.py
+++ b/numpy/testing/numpytest.py
@@ -195,7 +195,7 @@ class NumpyTestCase (unittest.TestCase):
class ScipyTestCase(NumpyTestCase):
def __init__(self, package=None):
warnings.warn("ScipyTestCase is now called NumpyTestCase; please update your code",
- DeprecationWarning)
+ DeprecationWarning, stacklevel=2)
NumpyTestCase.__init__(self, package)