diff options
| author | Charles Harris <charlesr.harris@gmail.com> | 2018-03-30 02:41:21 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-03-30 02:41:21 -0600 |
| commit | 7c0a3c3f7fd55abb8d792a13258ac9317aeba25f (patch) | |
| tree | 9272cba338b4aa35d1e1bd26934a1d129082c601 /numpy/testing | |
| parent | a7a18f28f41854c41805303f98cb96b22e066f01 (diff) | |
| parent | d06b690a330d05dd3997b154bbed7527333db1bb (diff) | |
| download | numpy-7c0a3c3f7fd55abb8d792a13258ac9317aeba25f.tar.gz | |
Merge pull request #10828 from rgommers/importwarning-bug
BUG: fix obvious mistake in testing/decorators warning.
Diffstat (limited to 'numpy/testing')
| -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 * |
