summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_shape_base.py
diff options
context:
space:
mode:
authorStefan van der Walt <stefan@sun.ac.za>2006-10-07 15:13:03 +0000
committerStefan van der Walt <stefan@sun.ac.za>2006-10-07 15:13:03 +0000
commitdbe29f439bf38f594db51b8e96057f3adabe9b45 (patch)
tree1a4270d3888576f1ad0003dbdd23c347b6668784 /numpy/lib/tests/test_shape_base.py
parent0d127c8bcc0612deaf0624c7d5a7deeb0d69ada6 (diff)
downloadnumpy-dbe29f439bf38f594db51b8e96057f3adabe9b45.tar.gz
Kron is now N-dimensional, so remove rank check.
Diffstat (limited to 'numpy/lib/tests/test_shape_base.py')
-rw-r--r--numpy/lib/tests/test_shape_base.py16
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):