summaryrefslogtreecommitdiff
path: root/numpy/core/tests/test_deprecations.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2018-03-23 06:50:00 -0600
committerCharles Harris <charlesr.harris@gmail.com>2018-03-24 09:55:09 -0600
commitfbb29df68bd7f330d5a5ced2c20e9244f12f9648 (patch)
tree43b8d9dab23035628ca116be269b507655ecaf53 /numpy/core/tests/test_deprecations.py
parente8389cb15f8d8fd902ea9f7aad0da64bce0f2583 (diff)
downloadpython-numpy-fbb29df68bd7f330d5a5ced2c20e9244f12f9648.tar.gz
python-numpy-fbb29df68bd7f330d5a5ced2c20e9244f12f9648.tar.bz2
python-numpy-fbb29df68bd7f330d5a5ced2c20e9244f12f9648.zip
TST: Rename some compiled c test modules
The renamed C modules provide low level functions for testing. The rename marks them as private functions and makes them invisible to pytest by default.
Diffstat (limited to 'numpy/core/tests/test_deprecations.py')
-rw-r--r--numpy/core/tests/test_deprecations.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/core/tests/test_deprecations.py b/numpy/core/tests/test_deprecations.py
index fe0c7cc5f..2c2900e6c 100644
--- a/numpy/core/tests/test_deprecations.py
+++ b/numpy/core/tests/test_deprecations.py
@@ -429,7 +429,7 @@ class TestNonNumericConjugate(_DeprecationTestCase):
class TestNPY_CHAR(_DeprecationTestCase):
# 2017-05-03, 1.13.0
def test_npy_char_deprecation(self):
- from numpy.core.multiarray_tests import npy_char_deprecation
+ from numpy.core._multiarray_tests import npy_char_deprecation
self.assert_deprecated(npy_char_deprecation)
assert_(npy_char_deprecation() == 'S1')
@@ -440,11 +440,11 @@ class Test_UPDATEIFCOPY(_DeprecationTestCase):
WRITEBACKIFCOPY instead
"""
def test_npy_updateifcopy_deprecation(self):
- from numpy.core.multiarray_tests import npy_updateifcopy_deprecation
+ from numpy.core._multiarray_tests import npy_updateifcopy_deprecation
arr = np.arange(9).reshape(3, 3)
v = arr.T
self.assert_deprecated(npy_updateifcopy_deprecation, args=(v,))
-
+
class TestDatetimeEvent(_DeprecationTestCase):
# 2017-08-11, 1.14.0