]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
fixed issue 10254 test
authorAlexander Belopolsky <alexander.belopolsky@gmail.com>
Tue, 28 Dec 2010 16:04:06 +0000 (16:04 +0000)
committerAlexander Belopolsky <alexander.belopolsky@gmail.com>
Tue, 28 Dec 2010 16:04:06 +0000 (16:04 +0000)
Lib/test/test_unicodedata.py

index 892138be4f6a24c00d2e4a1822ba6c04e7762f72..c30ecf4c5b5bbf5d6cc9d96e8bd808dd33e72edf 100644 (file)
@@ -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):