From dbe29f439bf38f594db51b8e96057f3adabe9b45 Mon Sep 17 00:00:00 2001 From: Stefan van der Walt Date: Sat, 7 Oct 2006 15:13:03 +0000 Subject: Kron is now N-dimensional, so remove rank check. --- numpy/lib/tests/test_shape_base.py | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'numpy/lib/tests/test_shape_base.py') diff --git a/numpy/lib/tests/test_shape_base.py b/numpy/lib/tests/test_shape_base.py index 2704870b6..2d09e86c3 100644 --- a/numpy/lib/tests/test_shape_base.py +++ b/numpy/lib/tests/test_shape_base.py @@ -369,22 +369,6 @@ class test_kron(NumpyTestCase): assert_equal(type(kron(ma,ma)), myarray) assert_equal(type(kron(a,ma)), ndarray) assert_equal(type(kron(ma,a)), myarray) - def check_rank_checking(self): - one = ones([2]) - two = ones([2,2]) - three = ones([2,2,2]) - for a in [one, two, three]: - for b in [one, two, three]: - if a is b is two: - continue - try: - kron(a, b) - except ValueError: - continue - except: - pass - assert False, "ValueError expected" - class test_tile(NumpyTestCase): def check_basic(self): -- cgit v1.2.1