diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2018-03-30 02:49:53 -0600 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2018-03-30 02:49:53 -0600 |
commit | ba5625161b36cd891c883bf4bc5a99590bcb2a9a (patch) | |
tree | dc68553acfc9f7a1243b5358e77e454600473fe4 /numpy/testing/noseclasses.py | |
parent | 7c0a3c3f7fd55abb8d792a13258ac9317aeba25f (diff) | |
download | numpy-ba5625161b36cd891c883bf4bc5a99590bcb2a9a.tar.gz |
BUG: Fix obvious warning bugs.
The warning type is the second, not the first, argument.
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 * |