Fix testcodec.py and test_charmapcodec.py

This commit is contained in:
Walter Dörwald 2007-05-23 19:00:48 +00:00
parent e53309ce47
commit eab198d229
2 changed files with 16 additions and 16 deletions

View file

@ -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>
})