summaryrefslogtreecommitdiff
path: root/numpy/testing/decorators.py
diff options
context:
space:
mode:
authorRalf Gommers <ralf.gommers@gmail.com>2018-03-29 21:34:13 -0700
committerRalf Gommers <ralf.gommers@gmail.com>2018-03-29 21:34:13 -0700
commitd06b690a330d05dd3997b154bbed7527333db1bb (patch)
tree9272cba338b4aa35d1e1bd26934a1d129082c601 /numpy/testing/decorators.py
parenta7a18f28f41854c41805303f98cb96b22e066f01 (diff)
downloadnumpy-d06b690a330d05dd3997b154bbed7527333db1bb.tar.gz
BUG: fix obvious mistake in testing/decorators warning.
Diffstat (limited to 'numpy/testing/decorators.py')
-rw-r--r--numpy/testing/decorators.py4
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 *