[Numpy-svn] r6085 - trunk/numpy/lib/tests

numpy-svn@scip... numpy-svn@scip...
Thu Nov 20 03:13:17 CST 2008


Author: cdavid
Date: 2008-11-20 03:13:07 -0600 (Thu, 20 Nov 2008)
New Revision: 6085

Modified:
   trunk/numpy/lib/tests/test_io.py
Log:
Fix ambiguous assert.

Modified: trunk/numpy/lib/tests/test_io.py
===================================================================
--- trunk/numpy/lib/tests/test_io.py	2008-11-20 09:01:53 UTC (rev 6084)
+++ trunk/numpy/lib/tests/test_io.py	2008-11-20 09:13:07 UTC (rev 6085)
@@ -65,7 +65,7 @@
         c = StringIO.StringIO()
         np.savetxt(c, a)
         c.seek(0)
-        assert(c.readlines(),
+        assert(c.readlines() ==
                ['1.000000000000000000e+00 2.000000000000000000e+00\n',
                 '3.000000000000000000e+00 4.000000000000000000e+00\n'])
 



More information about the Numpy-svn mailing list