summaryrefslogtreecommitdiff
path: root/numpy/matrixlib/tests/test_defmatrix.py
diff options
context:
space:
mode:
authorMarten van Kerkwijk <mhvk@astro.utoronto.ca>2018-04-27 10:05:45 -0400
committerMarten van Kerkwijk <mhvk@astro.utoronto.ca>2018-04-29 11:18:15 -0400
commite3eeec78a902cb2fcbf67d8c4e1ffc6141ed68f3 (patch)
tree2eb92fb595eb7da020bd26ec069e51f665305909 /numpy/matrixlib/tests/test_defmatrix.py
parentf3c3a969ff6c3f596d30137a90d87c745cc42497 (diff)
downloadnumpy-e3eeec78a902cb2fcbf67d8c4e1ffc6141ed68f3.tar.gz
MAINT: Move matrix_power to linalg
The docstring already assumed it was in linalg, and this ensures linalg becomes completely independent of matrixlib.
Diffstat (limited to 'numpy/matrixlib/tests/test_defmatrix.py')
-rw-r--r--numpy/matrixlib/tests/test_defmatrix.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/matrixlib/tests/test_defmatrix.py b/numpy/matrixlib/tests/test_defmatrix.py
index a02a05c09..d160490b3 100644
--- a/numpy/matrixlib/tests/test_defmatrix.py
+++ b/numpy/matrixlib/tests/test_defmatrix.py
@@ -13,7 +13,7 @@ from numpy.testing import (
assert_, assert_equal, assert_almost_equal, assert_array_equal,
assert_array_almost_equal, assert_raises
)
-from numpy.matrixlib.defmatrix import matrix_power
+from numpy.linalg import matrix_power
from numpy.matrixlib import mat
class TestCtor(object):