From 64be3e2a89c72a8b23ad11b3719bd66725658c61 Mon Sep 17 00:00:00 2001 From: Travis Oliphant Date: Mon, 28 Aug 2006 19:52:55 +0000 Subject: Undoing changes mistakenly made on tag 1.0b4 --- numpy/lib/tests/test_function_base.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'numpy/lib/tests') 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): -- cgit v1.2.1