diff options
author | cookedm <cookedm@localhost> | 2007-05-10 17:24:44 +0000 |
---|---|---|
committer | cookedm <cookedm@localhost> | 2007-05-10 17:24:44 +0000 |
commit | 2ae73db643380cbf639841adc22418906da40085 (patch) | |
tree | 4c343dff3b79d81c35e0c17c363cc7454c003d6c /numpy/testing/numpytest.py | |
parent | 35a03aedd8fa989165d2ed7c3117fc136945a9c9 (diff) | |
download | numpy-2ae73db643380cbf639841adc22418906da40085.tar.gz |
Better warning when using ScipyTest
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) |