Commit db290f01 authored by Walter Dörwald's avatar Walter Dörwald

Fix %c overflow test.

parent 67e83886
...@@ -17,7 +17,7 @@ class StrTest( ...@@ -17,7 +17,7 @@ class StrTest(
def test_formatting(self): def test_formatting(self):
string_tests.MixinStrUnicodeUserStringTest.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): def test_iterators(self):
# Make sure str objects have an __iter__ method # Make sure str objects have an __iter__ method
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment