Commit c8019f6e authored by Benjamin Peterson's avatar Benjamin Peterson

merge 3.3 (#22643)

parents 00b5564d 98771df2
......@@ -673,6 +673,7 @@ class UnicodeTest(string_tests.CommonTest,
'\U0010FFFFx\U0010FFFF\U0010FFFF')
@unittest.skipUnless(sys.maxsize == 2**31 - 1, "requires 32-bit system")
@support.cpython_only
def test_case_operation_overflow(self):
# Issue #22643
self.assertRaises(OverflowError, ("ü"*(2**32//12 + 1)).upper)
......
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