diff options
author | Travis Oliphant <oliphant@enthought.com> | 2006-08-28 19:46:08 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2006-08-28 19:46:08 +0000 |
commit | 0f23250d0f7f84f1c69ccd85d13338714343d4c1 (patch) | |
tree | 48d8356353a0738a31a8a73fb55241c03bfd8471 /numpy/lib/tests/test_function_base.py | |
parent | 59286e9133cfc1d71b92313e0b0443e31f03e8ce (diff) | |
download | numpy-0f23250d0f7f84f1c69ccd85d13338714343d4c1.tar.gz |
Merge changes mistakenly added to 1.0b4 tag to the main trunk
Diffstat (limited to 'numpy/lib/tests/test_function_base.py')
-rw-r--r-- | numpy/lib/tests/test_function_base.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/numpy/lib/tests/test_function_base.py b/numpy/lib/tests/test_function_base.py index 9a1825e39..fdb2f270f 100644 --- a/numpy/lib/tests/test_function_base.py +++ b/numpy/lib/tests/test_function_base.py @@ -237,17 +237,17 @@ class test_extins(NumpyTestCase): a = array([1,3,2,1,2,3,3]) b = extract(a>1,a) assert_array_equal(b,[3,2,2,3,3]) - def check_insert(self): + def check_place(self): a = array([1,4,3,2,5,8,7]) - insert(a,[0,1,0,1,0,1,0],[2,4,6]) + place(a,[0,1,0,1,0,1,0],[2,4,6]) assert_array_equal(a,[1,2,3,4,5,6,7]) def check_both(self): a = rand(10) mask = a > 0.5 ac = a.copy() c = extract(mask, a) - insert(a,mask,0) - insert(a,mask,c) + place(a,mask,0) + place(a,mask,c) assert_array_equal(a,ac) class test_vectorize(NumpyTestCase): |