[Scipy-svn] r3740 - trunk/scipy/sparse/tests

scipy-svn at scipy.org scipy-svn at scipy.org
Fri Dec 28 18:40:01 EST 2007


Author: wnbell
Date: 2007-12-28 17:39:51 -0600 (Fri, 28 Dec 2007)
New Revision: 3740

Modified:
   trunk/scipy/sparse/tests/test_sparse.py
Log:
small edit to tests


Modified: trunk/scipy/sparse/tests/test_sparse.py
===================================================================
--- trunk/scipy/sparse/tests/test_sparse.py	2007-12-28 22:02:11 UTC (rev 3739)
+++ trunk/scipy/sparse/tests/test_sparse.py	2007-12-28 23:39:51 UTC (rev 3740)
@@ -77,8 +77,7 @@
             vars = dict( [(var,mat.asformat(format)) for (var,name,mat) in matrices ] )
             for X,Y in [ ('A','A'),('A','B'),('B','A'),('B','B') ]:
                 x,y = vars[X],vars[Y]
-                #for op in ['__add__','__sub__','multiply','__div__','__mul__']:
-                for op in ['__mul__']:
+                for op in ['__add__','__sub__','multiply','__div__','__mul__']:
                     fn = getattr(x,op)
                     fn(y) #warmup
 




More information about the Scipy-svn mailing list