summaryrefslogtreecommitdiff
path: root/numpy/testing/noseclasses.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/testing/noseclasses.py')
-rw-r--r--numpy/testing/noseclasses.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/numpy/testing/noseclasses.py b/numpy/testing/noseclasses.py
index dde62e825..e0e728a32 100644
--- a/numpy/testing/noseclasses.py
+++ b/numpy/testing/noseclasses.py
@@ -2,10 +2,13 @@
Back compatibility noseclasses module. It will import the appropriate
set of tools
"""
+from __future__ import division, absolute_import, print_function
+
import warnings
-warnings.warn("Import from numpy.testing, not numpy.testing.noseclasses",
- ImportWarning)
+# 2018-04-04, numpy 1.15.0
+warnings.warn("Importing from numpy.testing.noseclasses is deprecated, "
+ "import from numpy.testing instead",
+ DeprecationWarning, stacklevel=2)
from ._private.noseclasses import *
-