Oops, I did it again: add missing \ removed in previous commit
This commit is contained in:
parent
11fd4e962d
commit
b4b8eb9163
|
@ -408,7 +408,7 @@ else:
|
|||
b'\xff'.decode(TESTFN_ENCODING)
|
||||
except UnicodeDecodeError:
|
||||
# 0xff will be encoded using the surrogate character u+DCFF
|
||||
TESTFN_UNENCODEABLE = TESTFN
|
||||
TESTFN_UNENCODEABLE = TESTFN \
|
||||
+ b'-\xff'.decode(TESTFN_ENCODING, 'surrogateescape')
|
||||
else:
|
||||
# File system encoding (eg. ISO-8859-* encodings) can encode
|
||||
|
|
Loading…
Reference in New Issue