[pypy-svn] r12417 - pypy/dist/pypy/objspace/std/test

arigo at codespeak.net arigo at codespeak.net
Tue May 17 17:29:06 CEST 2005


Author: arigo
Date: Tue May 17 17:29:05 2005
New Revision: 12417

Modified:
   pypy/dist/pypy/objspace/std/test/test_stringformat.py
Log:
A string formatting float rounding test, disabled for now, as a reminder.


Modified: pypy/dist/pypy/objspace/std/test/test_stringformat.py
==============================================================================
--- pypy/dist/pypy/objspace/std/test/test_stringformat.py	(original)
+++ pypy/dist/pypy/objspace/std/test/test_stringformat.py	Tue May 17 17:29:05 2005
@@ -64,6 +64,7 @@
         assert '23.456' == '%s' % 23.456
         # for 'r' use a float that has an exact decimal rep:
         assert '23.125' == '%r' % 23.125
+        # XXX rounding: assert '0.028' == '%.3f' % 0.0276
 
     def test_format_int(self):
         assert '23' == '%d' % 23



More information about the Pypy-commit mailing list