diff options
author | Benjamin Peterson <benjamin@python.org> | 2013-06-10 16:19:46 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2013-06-10 16:19:46 (GMT) |
commit | 7e303731262b9bd7c468c943c9d8f5359be76e4b (patch) | |
tree | 2efb9de7d37767d4d5429056d2a472b8442ee5ea /Lib/test | |
parent | 0e547b66dc206e46b69b91790aa73010290f4fcb (diff) | |
download | cpython-7e303731262b9bd7c468c943c9d8f5359be76e4b.zip cpython-7e303731262b9bd7c468c943c9d8f5359be76e4b.tar.gz cpython-7e303731262b9bd7c468c943c9d8f5359be76e4b.tar.bz2 |
remove MAX_MAXCHAR because it's unsafe for computing maximum codepoitn value (see #18183)
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_unicode.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_unicode.py b/Lib/test/test_unicode.py index bef64aa..bf0ddca 100644 --- a/Lib/test/test_unicode.py +++ b/Lib/test/test_unicode.py @@ -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') |