summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_function_base.py
diff options
context:
space:
mode:
authorTravis E. Oliphant <teoliphant@gmail.com>2012-07-17 19:26:39 -0700
committerTravis E. Oliphant <teoliphant@gmail.com>2012-07-17 19:26:39 -0700
commit578a4199a81e7464011661fcf8d46a8af2235db2 (patch)
tree58e1650c914153acceb0229fea16a546db0e46e0 /numpy/lib/tests/test_function_base.py
parent0b2bfa9c13070b08b3632f15a3aa327146994cc4 (diff)
parent2c04244da264cb1665d6162ae119d2f05ad65150 (diff)
downloadnumpy-578a4199a81e7464011661fcf8d46a8af2235db2.tar.gz
Merge pull request #352 from HackerSchool12/bugfix808
BF bug #808
Diffstat (limited to 'numpy/lib/tests/test_function_base.py')
-rw-r--r--numpy/lib/tests/test_function_base.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/lib/tests/test_function_base.py b/numpy/lib/tests/test_function_base.py
index 81892e634..db242153d 100644
--- a/numpy/lib/tests/test_function_base.py
+++ b/numpy/lib/tests/test_function_base.py
@@ -145,7 +145,8 @@ class TestInsert(TestCase):
assert_equal(insert(a, 0, 1), [1, 1, 2, 3])
assert_equal(insert(a, 3, 1), [1, 2, 3, 1])
assert_equal(insert(a, [1, 1, 1], [1, 2, 3]), [1, 1, 2, 3, 2, 3])
-
+ assert_equal(insert(a, 1,[1,2,3]), [1, 1, 2, 3, 2, 3])
+ assert_equal(insert(a,[1,2,3],9),[1,9,2,9,3,9])
class TestAmax(TestCase):
def test_basic(self):