diff options
author | Walter Dörwald <walter@livinglogic.de> | 2007-05-05 14:12:24 (GMT) |
---|---|---|
committer | Walter Dörwald <walter@livinglogic.de> | 2007-05-05 14:12:24 (GMT) |
commit | db290f0162bb4c51a07a970c8c5cd61a80f48e71 (patch) | |
tree | 10f0066a97444757dccce8896298053970559185 | |
parent | 67e83886d9143dec4476dc56d1206c55baa45850 (diff) | |
download | cpython-db290f0162bb4c51a07a970c8c5cd61a80f48e71.zip cpython-db290f0162bb4c51a07a970c8c5cd61a80f48e71.tar.gz cpython-db290f0162bb4c51a07a970c8c5cd61a80f48e71.tar.bz2 |
Fix %c overflow test.
-rw-r--r-- | Lib/test/test_str.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ class StrTest( 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 |