]> granicus.if.org Git - python/commit
test_subprocess: use surrogateescape error handler to write shell scripts
authorVictor Stinner <victor.stinner@haypocalc.com>
Sat, 16 Oct 2010 23:46:43 +0000 (23:46 +0000)
committerVictor Stinner <victor.stinner@haypocalc.com>
Sat, 16 Oct 2010 23:46:43 +0000 (23:46 +0000)
commitf6782ac0b69d1bfaa7f629357db757a021ddede1
treec67dbc48523a91f6e591dff649f007573f7a1426
parent61aad57dc9df19c2e073779e0ab389b949960801
test_subprocess: use surrogateescape error handler to write shell scripts

test_args_string() and test_call_string() create shell scripts including the
path to the Python executable: use surrogateescape to encode paths including
surrogate characters.
Lib/test/test_subprocess.py