[pypy-svn] r5625 - pypy/trunk/src/pypy/objspace/std/test

benyoung at codespeak.net benyoung at codespeak.net
Fri Jul 23 12:01:12 CEST 2004


Author: benyoung
Date: Fri Jul 23 12:01:10 2004
New Revision: 5625

Modified:
   pypy/trunk/src/pypy/objspace/std/test/test_stringformat.py
Log:
Small change to stringformat tests to make them
the same as what cpython actually does. Has
the benefit of making all tests pass for 
trivial space



Modified: pypy/trunk/src/pypy/objspace/std/test/test_stringformat.py
==============================================================================
--- pypy/trunk/src/pypy/objspace/std/test/test_stringformat.py	(original)
+++ pypy/trunk/src/pypy/objspace/std/test/test_stringformat.py	Fri Jul 23 12:01:10 2004
@@ -110,7 +110,7 @@
         self.assertEquals("%-05d"%1,  "1    ")
         self.assertEquals("%04f"%2.25, "2.250000")
         self.assertEquals("%05g"%2.25, "02.25")
-        self.assertEquals("%-05g"%2.25,"2.25  ")
+        self.assertEquals("%-05g"%2.25,"2.25 ")
         self.assertEquals("%05s"%2.25, " 2.25")
 
         



More information about the Pypy-commit mailing list