mirror of
https://github.com/python/cpython.git
synced 2025-11-11 14:44:57 +00:00
test is cpython only
This commit is contained in:
parent
1e211ff10d
commit
4d856895bd
1 changed files with 1 additions and 0 deletions
|
|
@ -662,6 +662,7 @@ class UnicodeTest(string_tests.CommonTest,
|
||||||
'\U0010FFFFx\U0010FFFF\U0010FFFF')
|
'\U0010FFFFx\U0010FFFF\U0010FFFF')
|
||||||
|
|
||||||
@unittest.skipUnless(sys.maxsize == 2**31 - 1, "requires 32-bit system")
|
@unittest.skipUnless(sys.maxsize == 2**31 - 1, "requires 32-bit system")
|
||||||
|
@support.cpython_only
|
||||||
def test_case_operation_overflow(self):
|
def test_case_operation_overflow(self):
|
||||||
# Issue #22643
|
# Issue #22643
|
||||||
self.assertRaises(OverflowError, ("ü"*(2**32//12 + 1)).upper)
|
self.assertRaises(OverflowError, ("ü"*(2**32//12 + 1)).upper)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue