diff options
author | Mark Wiebe <mwwiebe@gmail.com> | 2011-01-17 17:06:54 -0800 |
---|---|---|
committer | Mark Wiebe <mwwiebe@gmail.com> | 2011-01-17 17:06:54 -0800 |
commit | e916b9e44c1732fba94393056f80093a0e775134 (patch) | |
tree | 05f88fcccf3951f01451235e09f7d675f458af19 /numpy/matrixlib/tests/test_defmatrix.py | |
parent | 22d96096bf7d5fb199ca80f2fcd04e8d27815476 (diff) | |
download | numpy-e916b9e44c1732fba94393056f80093a0e775134.tar.gz |
ENH: core: Change PyArray_CopyAnyInto and PyArray_MoveAnyInto to use the new iterator
I also found that the tricky case of CopyAnyInto wasn't being triggered
by the test suite, so added a new function ndarray.setasflat, which
calls CopyAnyInto.
Diffstat (limited to 'numpy/matrixlib/tests/test_defmatrix.py')
-rw-r--r-- | numpy/matrixlib/tests/test_defmatrix.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/matrixlib/tests/test_defmatrix.py b/numpy/matrixlib/tests/test_defmatrix.py index 65d79df0b..ccb68f0e7 100644 --- a/numpy/matrixlib/tests/test_defmatrix.py +++ b/numpy/matrixlib/tests/test_defmatrix.py @@ -263,7 +263,7 @@ class TestMatrixReturn(TestCase): 'searchsorted', 'setflags', 'setfield', 'sort', 'take', 'tofile', 'tolist', 'tostring', 'all', 'any', 'sum', 'argmax', 'argmin', 'min', 'max', 'mean', 'var', 'ptp', - 'prod', 'std', 'ctypes', 'itemset' + 'prod', 'std', 'ctypes', 'itemset', 'setasflat' ] for attrib in dir(a): if attrib.startswith('_') or attrib in excluded_methods: |