[Numpy-svn] r3461 - trunk/numpy/core/tests

numpy-svn at scipy.org numpy-svn at scipy.org
Mon Nov 27 00:48:08 CST 2006


Author: stefan
Date: 2006-11-27 00:47:56 -0600 (Mon, 27 Nov 2006)
New Revision: 3461

Modified:
   trunk/numpy/core/tests/test_regression.py
Log:
Remove dependencies on default integer type in test for ticket #372.


Modified: trunk/numpy/core/tests/test_regression.py
===================================================================
--- trunk/numpy/core/tests/test_regression.py	2006-11-22 17:03:19 UTC (rev 3460)
+++ trunk/numpy/core/tests/test_regression.py	2006-11-27 06:47:56 UTC (rev 3461)
@@ -575,9 +575,7 @@
         dt = N.dtype([('f0',"i4"),('f1',"i4")])
         for a in [N.array([(1,2),(3,4)],"i4,i4"),
                   N.rec.array([(1,2),(3,4)],"i4,i4"),
-                  N.rec.array([(1,2),(3,4)]),
-                  N.rec.fromarrays([(1,2),(3,4)],"i4,i4"),
-                  N.rec.fromarrays([(1,2),(3,4)])]:
+                  N.rec.fromarrays([(1,2),(3,4)],"i4,i4")]:
             assert_equal(a.dtype,dt)
 
     def check_refcount_vectorize(self, level=rlevel):



More information about the Numpy-svn mailing list