From d06b690a330d05dd3997b154bbed7527333db1bb Mon Sep 17 00:00:00 2001 From: Ralf Gommers Date: Thu, 29 Mar 2018 21:34:13 -0700 Subject: BUG: fix obvious mistake in testing/decorators warning. --- numpy/testing/decorators.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'numpy/testing') 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 * -- cgit v1.2.1