Commit a4467058 authored by Victor Stinner's avatar Victor Stinner

Oops, I did it again: add missing \ removed in previous commit

parent e98e2eda
...@@ -408,7 +408,7 @@ else: ...@@ -408,7 +408,7 @@ else:
b'\xff'.decode(TESTFN_ENCODING) b'\xff'.decode(TESTFN_ENCODING)
except UnicodeDecodeError: except UnicodeDecodeError:
# 0xff will be encoded using the surrogate character u+DCFF # 0xff will be encoded using the surrogate character u+DCFF
TESTFN_UNENCODEABLE = TESTFN TESTFN_UNENCODEABLE = TESTFN \
+ b'-\xff'.decode(TESTFN_ENCODING, 'surrogateescape') + b'-\xff'.decode(TESTFN_ENCODING, 'surrogateescape')
else: else:
# File system encoding (eg. ISO-8859-* encodings) can encode # File system encoding (eg. ISO-8859-* encodings) can encode
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment