summaryrefslogtreecommitdiff
path: root/Lib/test/testcodec.py
diff options
context:
space:
mode:
authorWalter Dörwald <walter@livinglogic.de>2007-05-23 19:00:48 +0000
committerWalter Dörwald <walter@livinglogic.de>2007-05-23 19:00:48 +0000
commiteab198d2298a7186ae0a18382a12c864a4bb59a3 (patch)
treebaa227c15d71c761402f43213a01f05af2f8b7a2 /Lib/test/testcodec.py
parente53309ce4715262e9dcb6fb09177d61dcdb86c41 (diff)
downloadcpython-git-eab198d2298a7186ae0a18382a12c864a4bb59a3.tar.gz
Fix testcodec.py and test_charmapcodec.py
Diffstat (limited to 'Lib/test/testcodec.py')
-rw-r--r--Lib/test/testcodec.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/testcodec.py b/Lib/test/testcodec.py
index 7ac9203d3c..e7f836be70 100644
--- a/Lib/test/testcodec.py
+++ b/Lib/test/testcodec.py
@@ -36,7 +36,7 @@ def getregentry():
decoding_map = codecs.make_identity_dict(range(256))
decoding_map.update({
0x78: "abc", # 1-n decoding mapping
- "abc": 0x0078,# 1-n encoding mapping
+ str8("abc"): 0x0078,# 1-n encoding mapping
0x01: None, # decoding mapping to <undefined>
0x79: "", # decoding mapping to <remove character>
})