diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2012-12-04 10:55:04 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2012-12-04 10:55:04 (GMT) |
commit | fe907e18709e150c902afa08823b65ab4254614a (patch) | |
tree | 574c0dcfd1f280b1180181da76a952d40d234ab6 /Lib/test/support.py | |
parent | de67a4233cf175133e5baac9153315393e668357 (diff) | |
download | cpython-fe907e18709e150c902afa08823b65ab4254614a.zip cpython-fe907e18709e150c902afa08823b65ab4254614a.tar.gz cpython-fe907e18709e150c902afa08823b65ab4254614a.tar.bz2 |
Issue #16444: test more bytes in support.TESTFN_UNDECODABLE to support more Windows code pages
Diffstat (limited to 'Lib/test/support.py')
-rw-r--r-- | Lib/test/support.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/support.py b/Lib/test/support.py index 9c01cae..4d63904 100644 --- a/Lib/test/support.py +++ b/Lib/test/support.py @@ -717,6 +717,9 @@ for name in ( b'\xae\xd5' # undecodable from UTF-8 (UNIX and Mac OS X) b'\xed\xb2\x80', b'\xed\xb4\x80', + # undecodable from shift_jis, cp869, cp874, cp932, cp1250, cp1251, cp1252, + # cp1253, cp1254, cp1255, cp1257, cp1258 + b'\x81\x98', ): try: name.decode(TESTFN_ENCODING) |