diff options
Diffstat (limited to 'numpy/testing/utils.py')
-rw-r--r-- | numpy/testing/utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/testing/utils.py b/numpy/testing/utils.py index 299c68c6a..3cd89e639 100644 --- a/numpy/testing/utils.py +++ b/numpy/testing/utils.py @@ -5,8 +5,8 @@ set of tools """ import warnings -warnings.warn(ImportWarning, - "Import from numpy.testing, not numpy.testing.utils") +warnings.warn("Import from numpy.testing, not numpy.testing.utils", + ImportWarning) from ._private.utils import * |