[Python-checkins] python/dist/src/Lib/test string_tests.py, 1.32,
1.32.10.1
rhettinger at users.sourceforge.net
rhettinger at users.sourceforge.net
Tue Aug 26 23:08:21 EDT 2003
Update of /cvsroot/python/python/dist/src/Lib/test
In directory sc8-pr-cvs1:/tmp/cvs-serv27943/Lib/test
Modified Files:
Tag: release23-maint
string_tests.py
Log Message:
SF bug #795506: Wrong handling of string format code for float values.
Added missing support for '%F' as had been documented.
Index: string_tests.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/string_tests.py,v
retrieving revision 1.32
retrieving revision 1.32.10.1
diff -C2 -d -r1.32 -r1.32.10.1
*** string_tests.py 24 Apr 2003 16:02:50 -0000 1.32
--- string_tests.py 27 Aug 2003 05:08:19 -0000 1.32.10.1
***************
*** 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