From: Alexander Belopolsky Date: Tue, 28 Dec 2010 16:04:06 +0000 (+0000) Subject: fixed issue 10254 test X-Git-Tag: v2.7.2rc1~433 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=06fdbedf81c49fd9614379ebd68d6388525bf42f;p=thirdparty%2FPython%2Fcpython.git fixed issue 10254 test --- diff --git a/Lib/test/test_unicodedata.py b/Lib/test/test_unicodedata.py index 892138be4f6a..c30ecf4c5b5b 100644 --- a/Lib/test/test_unicodedata.py +++ b/Lib/test/test_unicodedata.py @@ -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):