[Python-checkins] r87543 - python/branches/release27-maint/Lib/test/test_unicodedata.py

alexander.belopolsky python-checkins at python.org
Tue Dec 28 17:04:07 CET 2010


Author: alexander.belopolsky
Date: Tue Dec 28 17:04:06 2010
New Revision: 87543

Log:
fixed issue 10254 test

Modified:
   python/branches/release27-maint/Lib/test/test_unicodedata.py

Modified: python/branches/release27-maint/Lib/test/test_unicodedata.py
==============================================================================
--- python/branches/release27-maint/Lib/test/test_unicodedata.py	(original)
+++ python/branches/release27-maint/Lib/test/test_unicodedata.py	Tue Dec 28 17:04:06 2010
@@ -200,8 +200,8 @@
 
     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):


More information about the Python-checkins mailing list