diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-10-15 22:30:05 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-15 22:30:05 (GMT) |
commit | 350aeab8127da551fcd0090230575b7aabff03c9 (patch) | |
tree | a220c9b3adf84fdd908e9e1c3381565e528ae75d /Lib/cProfile.py | |
parent | 802de12d99d16e621537d454eac942d2f448afee (diff) | |
download | cpython-350aeab8127da551fcd0090230575b7aabff03c9.zip cpython-350aeab8127da551fcd0090230575b7aabff03c9.tar.gz cpython-350aeab8127da551fcd0090230575b7aabff03c9.tar.bz2 |
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>
Diffstat (limited to 'Lib/cProfile.py')
0 files changed, 0 insertions, 0 deletions