[Python-checkins] python/dist/src/Lib/test string_tests.py, 1.32,
1.33
rhettinger at users.sourceforge.net
rhettinger at users.sourceforge.net
Tue Aug 26 22:55:54 EDT 2003
Update of /cvsroot/python/python/dist/src/Lib/test
In directory sc8-pr-cvs1:/tmp/cvs-serv26091/Lib/test
Modified Files:
string_tests.py
Log Message:
SF bug #795506: Wrong handling of string format code for float values.
Adding missing support for '%F'.
Will backport to 2.3.1.
Index: string_tests.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/string_tests.py,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -d -r1.32 -r1.33
*** string_tests.py 24 Apr 2003 16:02:50 -0000 1.32
--- string_tests.py 27 Aug 2003 04:55:52 -0000 1.33
***************
*** 551,554 ****
--- 551,555 ----
self.checkequal(' 42', '%3ld', '__mod__', 42)
self.checkequal('0042.00', '%07.2f', '__mod__', 42)
+ self.checkequal('0042.00', '%07.2F', '__mod__', 42)
self.checkraises(TypeError, 'abc', '__mod__')
More information about the Python-checkins
mailing list