mirror of
https://github.com/python/cpython.git
synced 2025-11-01 02:38:53 +00:00
#1097797: Add CP273 codec, and exercise it in the test suite
This commit is contained in:
parent
6b53296c56
commit
ad8156e9b2
2 changed files with 309 additions and 2 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue