diff options
Diffstat (limited to 'Lib/test/testcodec.py')
-rw-r--r-- | Lib/test/testcodec.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Lib/test/testcodec.py b/Lib/test/testcodec.py index 0cf9b07..5da754d 100644 --- a/Lib/test/testcodec.py +++ b/Lib/test/testcodec.py @@ -14,14 +14,14 @@ class Codec(codecs.Codec): def encode(self,input,errors='strict'): return codecs.charmap_encode(input,errors,encoding_map) - + def decode(self,input,errors='strict'): return codecs.charmap_decode(input,errors,decoding_map) class StreamWriter(Codec,codecs.StreamWriter): pass - + class StreamReader(Codec,codecs.StreamReader): pass @@ -46,4 +46,3 @@ decoding_map.update({ encoding_map = {} for k,v in decoding_map.items(): encoding_map[v] = k - |