mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Upgrade to Unicode 6.0.0.
makeunicodedata.py: download all data files from unicode.org, switch to extracting Unihan data from zip file. Read linebreakprops and derivednormalizationprops even for old versions, even though they are not used in delta records. test:unicode.py: U+11000 is now assigned, use U+14000 instead.
This commit is contained in:
parent
e8930228c7
commit
baecd7243a
6 changed files with 21711 additions and 19847 deletions
|
@ -1349,7 +1349,7 @@ class UnicodeTest(string_tests.CommonTest,
|
|||
|
||||
def test_printable_repr(self):
|
||||
self.assertEqual(repr('\U00010000'), "'%c'" % (0x10000,)) # printable
|
||||
self.assertEqual(repr('\U00011000'), "'\\U00011000'") # nonprintable
|
||||
self.assertEqual(repr('\U00014000'), "'\\U00014000'") # nonprintable
|
||||
|
||||
def test_expandtabs_overflows_gracefully(self):
|
||||
# This test only affects 32-bit platforms because expandtabs can only take
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue