From d53219bad0f8af4b0cc461d165f9d729e44d91dd Mon Sep 17 00:00:00 2001 From: Brigitta Sipocz Date: Wed, 18 Sep 2019 16:41:45 -0700 Subject: Changing ImportWarning to DeprecationWarning --- numpy/testing/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/testing/utils.py') diff --git a/numpy/testing/utils.py b/numpy/testing/utils.py index 1e7d65b89..21e108e21 100644 --- a/numpy/testing/utils.py +++ b/numpy/testing/utils.py @@ -10,7 +10,7 @@ import warnings # 2018-04-04, numpy 1.15.0 warnings.warn("Importing from numpy.testing.utils is deprecated " "since 1.15.0, import from numpy.testing instead.", - ImportWarning, stacklevel=2) + DeprecationWarning, stacklevel=2) from ._private.utils import * -- cgit v1.2.1