Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f1789de

Browse files
committed
Revert Unicode UCD 5.2 upgrade in 3.x. It broke repr() for unicode objects, and gave failures in test_bigmem. Revert 79062, 79065 and 79083.
1 parent 3ab1fa6 commit f1789de

6 files changed

Lines changed: 18908 additions & 21426 deletions

File tree

Lib/test/test_unicodedata.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
class UnicodeMethodsTest(unittest.TestCase):
2222

2323
# update this, if the database changes
24-
expectedchecksum = '4504dffd035baea02c5b9de82bebc3d65e0e0baf'
24+
expectedchecksum = '0b915116051f3ed029a98542c2b7df63c9646272'
2525

2626
def test_method_checksum(self):
2727
h = hashlib.sha1()
@@ -80,7 +80,7 @@ def tearDown(self):
8080
class UnicodeFunctionsTest(UnicodeDatabaseTest):
8181

8282
# update this, if the database changes
83-
expectedchecksum = '6ccf1b1a36460d2694f9b0b0f0324942fe70ede6'
83+
expectedchecksum = 'd4169ccff998ebbd1ec007a0b3fbd66e5ccf0229'
8484

8585
def test_function_checksum(self):
8686
data = []

Misc/NEWS

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,8 +290,6 @@ Library
290290
- ``tokenize.detect_encoding`` now returns ``'utf-8-sig'`` when a UTF-8 BOM is
291291
detected.
292292

293-
- Issue #8024: Update the Unicode database to 5.2.
294-
295293
- Issue #6716/2: Backslash-replace error output in compilall.
296294

297295
- Issue #4961: Inconsistent/wrong result of askyesno function in tkMessageBox

0 commit comments

Comments
 (0)