summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2012-12-04 10:55:04 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2012-12-04 10:55:04 (GMT)
commitfe907e18709e150c902afa08823b65ab4254614a (patch)
tree574c0dcfd1f280b1180181da76a952d40d234ab6
parentde67a4233cf175133e5baac9153315393e668357 (diff)
downloadcpython-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
-rw-r--r--Lib/test/support.py3
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)