mirror of
https://github.com/python/cpython.git
synced 2025-08-28 12:45:07 +00:00
Fix %c overflow test.
This commit is contained in:
parent
67e83886d9
commit
db290f0162
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue