diff options
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/string_tests.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/string_tests.py b/Lib/test/string_tests.py index 7c98a3b..af171d0 100644 --- a/Lib/test/string_tests.py +++ b/Lib/test/string_tests.py @@ -550,6 +550,7 @@ class MixinStrUnicodeUserStringTest: 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__') self.checkraises(TypeError, '%(foo)s', '__mod__', 42) |