commit | db290f0162bb4c51a07a970c8c5cd61a80f48e71 | [log] [tgz] |
---|---|---|
author | Walter Dörwald <walter@livinglogic.de> | Sat May 05 14:12:24 2007 +0000 |
committer | Walter Dörwald <walter@livinglogic.de> | Sat May 05 14:12:24 2007 +0000 |
tree | 10f0066a97444757dccce8896298053970559185 | |
parent | 67e83886d9143dec4476dc56d1206c55baa45850 [diff] |
Fix %c overflow test.
diff --git a/Lib/test/test_str.py b/Lib/test/test_str.py index 6869941..2936dca 100644 --- a/Lib/test/test_str.py +++ b/Lib/test/test_str.py
@@ -17,7 +17,7 @@ def test_formatting(self): string_tests.MixinStrUnicodeUserStringTest.test_formatting(self) - self.assertRaises(OverflowError, '%c'.__mod__, 0x1234) + self.assertRaises(OverflowError, '%c'.__mod__, 0x12341234) def test_iterators(self): # Make sure str objects have an __iter__ method