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