[Numpy-svn] r6273 - branches/fix_float_format/numpy/core/tests

numpy-svn@scip... numpy-svn@scip...
Tue Dec 30 00:38:32 CST 2008


Author: cdavid
Date: 2008-12-30 00:38:29 -0600 (Tue, 30 Dec 2008)
New Revision: 6273

Modified:
   branches/fix_float_format/numpy/core/tests/test_print.py
Log:
Fix complex reference.

Modified: branches/fix_float_format/numpy/core/tests/test_print.py
===================================================================
--- branches/fix_float_format/numpy/core/tests/test_print.py	2008-12-30 06:35:00 UTC (rev 6272)
+++ branches/fix_float_format/numpy/core/tests/test_print.py	2008-12-30 06:38:29 UTC (rev 6273)
@@ -67,9 +67,9 @@
     else:
         if sys.platform == 'win32' and sys.version_info[0] <= 2 and \
            sys.version_info[1] <= 5:
-            ref = '1e+010'
+            ref = '(1e+010+0j)'
         else:
-            ref = '1e+10'
+            ref = '(1e+10+0j)'
         assert_equal(str(tp(1e10)), ref,
                      err_msg='Failed str formatting for type %s' % tp)
 



More information about the Numpy-svn mailing list