mirror of
https://github.com/python/cpython.git
synced 2025-11-03 03:22:27 +00:00
remove MAX_MAXCHAR because it's unsafe for computing maximum codepoitn value (see #18183)
This commit is contained in:
parent
0e547b66dc
commit
7e30373126
3 changed files with 32 additions and 31 deletions
|
|
@ -566,6 +566,9 @@ class UnicodeTest(string_tests.CommonTest,
|
|||
self.assertEqual('\U0008fffe'.lower(), '\U0008fffe')
|
||||
self.assertEqual('\u2177'.lower(), '\u2177')
|
||||
|
||||
# See issue #18183 for this one.
|
||||
'\U00010000\U00100000'.lower()
|
||||
|
||||
def test_casefold(self):
|
||||
self.assertEqual('hello'.casefold(), 'hello')
|
||||
self.assertEqual('hELlo'.casefold(), 'hello')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue