summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorAlexander Belopolsky <alexander.belopolsky@gmail.com>2010-12-28 16:04:06 (GMT)
committerAlexander Belopolsky <alexander.belopolsky@gmail.com>2010-12-28 16:04:06 (GMT)
commit06fdbedf81c49fd9614379ebd68d6388525bf42f (patch)
tree00202b1f2e9c64535d641b1840c16efed0df0c5f /Lib/test
parentdce6cf353cd631629fd204f0eb75c3cec8e8d367 (diff)
downloadcpython-06fdbedf81c49fd9614379ebd68d6388525bf42f.zip
cpython-06fdbedf81c49fd9614379ebd68d6388525bf42f.tar.gz
cpython-06fdbedf81c49fd9614379ebd68d6388525bf42f.tar.bz2
fixed issue 10254 test
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_unicodedata.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_unicodedata.py b/Lib/test/test_unicodedata.py
index 892138b..c30ecf4 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):