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

numpy-svn@scip... numpy-svn@scip...
Wed Aug 29 10:46:34 CDT 2007


Author: stefan
Date: 2007-08-29 10:46:21 -0500 (Wed, 29 Aug 2007)
New Revision: 4021

Modified:
   trunk/numpy/core/tests/test_multiarray.py
Log:
Remove another generator.


Modified: trunk/numpy/core/tests/test_multiarray.py
===================================================================
--- trunk/numpy/core/tests/test_multiarray.py	2007-08-29 15:16:32 UTC (rev 4020)
+++ trunk/numpy/core/tests/test_multiarray.py	2007-08-29 15:46:21 UTC (rev 4021)
@@ -435,8 +435,8 @@
         tests = []
         for val in [-100,0,15]:
             for types in N.sctypes.itervalues():
-                tests.extend((self.tst_basic,x.copy().astype(T),T,mask,val)
-                             for T in types if T not in unchecked_types)
+                tests.extend([(self.tst_basic,x.copy().astype(T),T,mask,val)
+                              for T in types if T not in unchecked_types])
         return tests
 
     def test_mask_size(self):



More information about the Numpy-svn mailing list