From 0f23250d0f7f84f1c69ccd85d13338714343d4c1 Mon Sep 17 00:00:00 2001 From: Travis Oliphant Date: Mon, 28 Aug 2006 19:46:08 +0000 Subject: Merge changes mistakenly added to 1.0b4 tag to the main trunk --- numpy/lib/tests/test_function_base.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'numpy/lib/tests/test_function_base.py') 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): -- cgit v1.2.1