commit | 350aeab8127da551fcd0090230575b7aabff03c9 | [log] [tgz] |
---|---|---|
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | Mon Oct 15 15:30:05 2018 -0700 |
committer | GitHub <noreply@github.com> | Mon Oct 15 15:30:05 2018 -0700 |
tree | a220c9b3adf84fdd908e9e1c3381565e528ae75d | |
parent | 802de12d99d16e621537d454eac942d2f448afee [diff] |
bpo-34783: Fix test_nonexisting_script() (GH-9896) Fix test_cmd_line_script.test_nonexisting_script(): the test must not rely on sys.executable, since main.c uses config->program which can be different than sys.executable in many cases (for example, on macOS when using the framework). (cherry picked from commit ea75187c68b374bb839f1172f310b206044bc3e5) Co-authored-by: Victor Stinner <vstinner@redhat.com>