summaryrefslogtreecommitdiff
path: root/numpy/testing/numpytest.py
diff options
context:
space:
mode:
authorcookedm <cookedm@localhost>2007-05-10 17:24:44 +0000
committercookedm <cookedm@localhost>2007-05-10 17:24:44 +0000
commit2ae73db643380cbf639841adc22418906da40085 (patch)
tree4c343dff3b79d81c35e0c17c363cc7454c003d6c /numpy/testing/numpytest.py
parent35a03aedd8fa989165d2ed7c3117fc136945a9c9 (diff)
downloadnumpy-2ae73db643380cbf639841adc22418906da40085.tar.gz
Better warning when using ScipyTest
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 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)