diff options
| author | Travis Oliphant <oliphant@enthought.com> | 2006-08-28 19:52:55 +0000 |
|---|---|---|
| committer | Travis Oliphant <oliphant@enthought.com> | 2006-08-28 19:52:55 +0000 |
| commit | 64be3e2a89c72a8b23ad11b3719bd66725658c61 (patch) | |
| tree | 4321cfd32dbc856fa384a3394451460cf591dfbf /numpy/lib/tests | |
| parent | caa4b1340b41fee581433ad5802c49b8d6de85b7 (diff) | |
| download | numpy-1.0b4.tar.gz | |
Undoing changes mistakenly made on tag 1.0b4v1.0b4
Diffstat (limited to 'numpy/lib/tests')
| -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 fdb2f270f..9a1825e39 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_place(self): + def check_insert(self): a = array([1,4,3,2,5,8,7]) - place(a,[0,1,0,1,0,1,0],[2,4,6]) + insert(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) - place(a,mask,0) - place(a,mask,c) + insert(a,mask,0) + insert(a,mask,c) assert_array_equal(a,ac) class test_vectorize(NumpyTestCase): |
