mirror of
https://github.com/python/cpython.git
synced 2025-08-22 09:45:06 +00:00
use full unicode mappings for upper/lower/title case (#12736)
Also broaden the category of characters that count as lowercase/uppercase.
This commit is contained in:
parent
9007f72db0
commit
b2bf01d824
11 changed files with 4634 additions and 1757 deletions
|
@ -669,7 +669,7 @@ class CommonTest(BaseTest):
|
|||
|
||||
# check that titlecased chars are lowered correctly
|
||||
# \u1ffc is the titlecased char
|
||||
self.checkequal('\u1ffc\u1ff3\u1ff3\u1ff3',
|
||||
self.checkequal('\u03a9\u0399\u1ff3\u1ff3\u1ff3',
|
||||
'\u1ff3\u1ff3\u1ffc\u1ffc', 'capitalize')
|
||||
# check with cased non-letter chars
|
||||
self.checkequal('\u24c5\u24e8\u24e3\u24d7\u24de\u24dd',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue