summaryrefslogtreecommitdiff
path: root/numpy/testing/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/testing/utils.py')
-rw-r--r--numpy/testing/utils.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/numpy/testing/utils.py b/numpy/testing/utils.py
index 914fc6806..299c68c6a 100644
--- a/numpy/testing/utils.py
+++ b/numpy/testing/utils.py
@@ -3,7 +3,10 @@ Back compatibility utils module. It will import the appropriate
set of tools
"""
-import os
+import warnings
+
+warnings.warn(ImportWarning,
+ "Import from numpy.testing, not numpy.testing.utils")
from ._private.utils import *