diff options
Diffstat (limited to 'numpy/lib/tests/test_shape_base.py')
-rw-r--r-- | numpy/lib/tests/test_shape_base.py | 16 |
1 files changed, 0 insertions, 16 deletions
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): |