diff options
-rw-r--r-- | numpy/testing/decorators.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/testing/decorators.py b/numpy/testing/decorators.py index 8f6eb3ce8..1988afd29 100644 --- a/numpy/testing/decorators.py +++ b/numpy/testing/decorators.py @@ -5,7 +5,7 @@ set of tools """ import warnings -warnings.warn(ImportWarning, - "Import from numpy.testing, not numpy.testing.decorators") +warnings.warn("Import from numpy.testing, not numpy.testing.decorators", + ImportWarning) from ._private.decorators import * |