[Numpy-svn] r3287 - trunk/numpy/lib/tests
numpy-svn at scipy.org
numpy-svn at scipy.org
Sat Oct 7 11:13:18 EDT 2006
Author: stefan
Date: 2006-10-07 10:13:03 -0500 (Sat, 07 Oct 2006)
New Revision: 3287
Modified:
trunk/numpy/lib/tests/test_shape_base.py
Log:
Kron is now N-dimensional, so remove rank check.
Modified: trunk/numpy/lib/tests/test_shape_base.py
===================================================================
--- trunk/numpy/lib/tests/test_shape_base.py 2006-10-07 15:04:51 UTC (rev 3286)
+++ trunk/numpy/lib/tests/test_shape_base.py 2006-10-07 15:13:03 UTC (rev 3287)
@@ -369,23 +369,7 @@
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):
a = array([0,1,2])
More information about the Numpy-svn
mailing list