#1097797: Add CP273 codec, and exercise it in the test suite

This commit is contained in:
Andrew Kuchling 2013-11-10 13:44:30 -05:00
parent 6b53296c56
commit ad8156e9b2
2 changed files with 309 additions and 2 deletions

View file

@ -1831,7 +1831,7 @@ class UnicodeTest(string_tests.CommonTest,
# 0-127
s = bytes(range(128))
for encoding in (
'cp037', 'cp1026',
'cp037', 'cp1026', 'cp273',
'cp437', 'cp500', 'cp720', 'cp737', 'cp775', 'cp850',
'cp852', 'cp855', 'cp858', 'cp860', 'cp861', 'cp862',
'cp863', 'cp865', 'cp866',
@ -1859,7 +1859,7 @@ class UnicodeTest(string_tests.CommonTest,
# 128-255
s = bytes(range(128, 256))
for encoding in (
'cp037', 'cp1026',
'cp037', 'cp1026', 'cp273',
'cp437', 'cp500', 'cp720', 'cp737', 'cp775', 'cp850',
'cp852', 'cp855', 'cp858', 'cp860', 'cp861', 'cp862',
'cp863', 'cp865', 'cp866',