summaryrefslogtreecommitdiff
path: root/Lib/test/test_codecmaps_jp.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_codecmaps_jp.py')
-rw-r--r--Lib/test/test_codecmaps_jp.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/Lib/test/test_codecmaps_jp.py b/Lib/test/test_codecmaps_jp.py
index 5466a986b9..58abb30a2b 100644
--- a/Lib/test/test_codecmaps_jp.py
+++ b/Lib/test/test_codecmaps_jp.py
@@ -14,11 +14,11 @@ class TestCP932Map(test_multibytecodec_support.TestBase_Mapping,
mapfileurl = 'http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/' \
'WINDOWS/CP932.TXT'
supmaps = [
- ('\x80', u'\u0080'),
- ('\xa0', u'\uf8f0'),
- ('\xfd', u'\uf8f1'),
- ('\xfe', u'\uf8f2'),
- ('\xff', u'\uf8f3'),
+ ('\x80', '\u0080'),
+ ('\xa0', '\uf8f0'),
+ ('\xfd', '\uf8f1'),
+ ('\xfe', '\uf8f2'),
+ ('\xff', '\uf8f3'),
]
for i in range(0xa1, 0xe0):
supmaps.append((chr(i), unichr(i+0xfec0)))
@@ -38,12 +38,12 @@ class TestSJISCOMPATMap(test_multibytecodec_support.TestBase_Mapping,
mapfileurl = 'http://www.unicode.org/Public/MAPPINGS/OBSOLETE' \
'/EASTASIA/JIS/SHIFTJIS.TXT'
pass_enctest = [
- ('\x81_', u'\\'),
+ ('\x81_', '\\'),
]
pass_dectest = [
- ('\\', u'\xa5'),
- ('~', u'\u203e'),
- ('\x81_', u'\\'),
+ ('\\', '\xa5'),
+ ('~', '\u203e'),
+ ('\x81_', '\\'),
]
class TestEUCJISX0213Map(test_multibytecodec_support.TestBase_Mapping,