Fix %c overflow test.

This commit is contained in:
Walter Dörwald 2007-05-05 14:12:24 +00:00
parent 67e83886d9
commit db290f0162
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ def fixtype(self, obj):
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