mirror of https://github.com/python/cpython.git
Fix %c overflow test.
This commit is contained in:
parent
67e83886d9
commit
db290f0162
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue