]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-34783: Add test_cmd_line_script.test_nonexisting_script() (GH-9535)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 24 Sep 2018 15:28:23 +0000 (08:28 -0700)
committerGitHub <noreply@github.com>
Mon, 24 Sep 2018 15:28:23 +0000 (08:28 -0700)
commit7a26222d7caa507fc46119ba9246f163502eb1fd
tree6752e8650f2f2a8018e915f02ef5f17ffeb6bdd9
parent75dd688adbe685a029721c9fcbe5ba002d0cebd1
bpo-34783: Add test_cmd_line_script.test_nonexisting_script() (GH-9535)

Make sure that "./python script.py" does not crash if the script
file doesn't exist.
(cherry picked from commit a46467ff198c42c8f34768c7be4b4562f6f44736)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
Lib/test/test_cmd_line_script.py