diff options
Diffstat (limited to 'numpy/tests/test_warnings.py')
-rw-r--r-- | numpy/tests/test_warnings.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/numpy/tests/test_warnings.py b/numpy/tests/test_warnings.py index c5818d21c..7f22794ec 100644 --- a/numpy/tests/test_warnings.py +++ b/numpy/tests/test_warnings.py @@ -13,9 +13,7 @@ if sys.version_info >= (3, 4): import ast import tokenize import numpy - from numpy.testing import run_module_suite - from numpy.testing.decorators import slow - + from numpy.testing import run_module_suite, dec class ParseCall(ast.NodeVisitor): def __init__(self): @@ -63,7 +61,7 @@ if sys.version_info >= (3, 4): "{} on line {}".format(self.__filename, node.lineno)) - @slow + @dec.slow def test_warning_calls(): # combined "ignore" and stacklevel error base = Path(numpy.__file__).parent |