]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-34783: Disable test_nonexisting_script for macOS framework builds (GH-9831)...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 13 Oct 2018 04:07:01 +0000 (21:07 -0700)
committerNed Deily <nad@python.org>
Sat, 13 Oct 2018 04:07:01 +0000 (00:07 -0400)
commit5d8ef8bc3f7307cd15f9d82ad4846e82b498ae88
treed4b8d939d7da4b88e81801f7968c36a0378641a3
parentd4ed8809ddfaa23fe5edf2987c03afc32f5576c0
bpo-34783:  Disable test_nonexisting_script for macOS framework builds (GH-9831) (GH-9832)

With macOS framework builds, test case test_nonexisting_script in
test_nonexisting_script fails because the test case assumes that
the file name in sys.executable will appear in the error message.
For macOS framework builds, sys.executable is the file name of the
stub launcher and its file name bears no relationship to the file
name of the actual python executable.  For now, skip the test in
this case.
(cherry picked from commit f6c29a65e2a6da5c0014c868cf963c975b74e72b)

Co-authored-by: Ned Deily <nad@python.org>
Lib/test/test_cmd_line_script.py