mirror of
https://github.com/python/cpython.git
synced 2025-11-03 03:22:27 +00:00
Oops, I did it again: add missing \ removed in previous commit
This commit is contained in:
parent
11fd4e962d
commit
b4b8eb9163
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue