]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #16444, #16218: Use TESTFN_UNDECODABLE on UNIX
authorVictor Stinner <victor.stinner@gmail.com>
Sat, 10 Nov 2012 11:07:39 +0000 (12:07 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Sat, 10 Nov 2012 11:07:39 +0000 (12:07 +0100)
commitff3d515952aa6eabdb82a90b9fe6f9dc33a406e5
tree86bb37049fad83ab74cf568623274bdd97c115f0
parentef3971d3e57ea8364a90581abb36c746a91f8001
Issue #16444, #16218: Use TESTFN_UNDECODABLE on UNIX

Check if data is decoded by os.fsdecode() (filesystem encoding with
surrogateescape error handler, PEP 383), not by UTF-8 or the filesystem
encoding in strict mode.

Use TESTFN_UNDECODABLE in test_cmd_line_script.test_non_ascii() on UNIX.
Lib/test/support.py
Lib/test/test_cmd_line_script.py
Lib/test/test_genericpath.py