diff options
Diffstat (limited to 'numpy/testing/nosetester.py')
-rw-r--r-- | numpy/testing/nosetester.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/numpy/testing/nosetester.py b/numpy/testing/nosetester.py index cb387d7af..ed3548b76 100644 --- a/numpy/testing/nosetester.py +++ b/numpy/testing/nosetester.py @@ -294,7 +294,10 @@ class NoseTester(object): # issue a deprecation warning if any of the pre-1.2 arguments to # test are given if old_args.intersection(kwargs.keys()): - warnings.warn("This method's signature will change in the next release; the level, verbosity, all, sys_argv, and testcase_pattern keyword arguments will be removed. Please update your code.", + warnings.warn("This method's signature will change in the next " \ + "release; the level, verbosity, all, sys_argv, " \ + "and testcase_pattern keyword arguments will be " \ + "removed. Please update your code.", DeprecationWarning, stacklevel=2) # Use old arguments if given (where it makes sense) |