mirror of
https://github.com/python/cpython.git
synced 2025-08-01 23:53:15 +00:00
fixed issue 10254 test
This commit is contained in:
parent
dce6cf353c
commit
06fdbedf81
1 changed files with 2 additions and 2 deletions
|
@ -200,8 +200,8 @@ class UnicodeFunctionsTest(UnicodeDatabaseTest):
|
|||
|
||||
def test_issue10254(self):
|
||||
# Crash reported in #10254
|
||||
a = u'C\u0338' * 20 + 'C\u0327'
|
||||
b = u'C\u0338' * 20 + '\xC7'
|
||||
a = u'C\u0338' * 20 + u'C\u0327'
|
||||
b = u'C\u0338' * 20 + u'\xC7'
|
||||
self.assertEqual(self.db.normalize('NFC', a), b)
|
||||
|
||||
def test_east_asian_width(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue