fixed issue 10254 test
This commit is contained in:
parent
dce6cf353c
commit
06fdbedf81
|
@ -200,8 +200,8 @@ class UnicodeFunctionsTest(UnicodeDatabaseTest):
|
||||||
|
|
||||||
def test_issue10254(self):
|
def test_issue10254(self):
|
||||||
# Crash reported in #10254
|
# Crash reported in #10254
|
||||||
a = u'C\u0338' * 20 + 'C\u0327'
|
a = u'C\u0338' * 20 + u'C\u0327'
|
||||||
b = u'C\u0338' * 20 + '\xC7'
|
b = u'C\u0338' * 20 + u'\xC7'
|
||||||
self.assertEqual(self.db.normalize('NFC', a), b)
|
self.assertEqual(self.db.normalize('NFC', a), b)
|
||||||
|
|
||||||
def test_east_asian_width(self):
|
def test_east_asian_width(self):
|
||||||
|
|
Loading…
Reference in New Issue