This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ned.deily
Recipients eohm, miss-islington, ned.deily, vstinner, xtreak
Date 2018-10-13.03:53:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Re-opening. The new test_cmd_line_script fails on macOS framework builds 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:

$ python3.7 -c 'import sys;print(sys.executable)'
$ python3.7 -m test test_cmd_line_script
Run tests sequentially
0:00:00 load avg: 1.12 [1/1] test_cmd_line_script
test test_cmd_line_script failed -- Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/test/", line 648, in test_nonexisting_script
    self.assertIn(program, err)
AssertionError: 'python3.7' not found in "/Library/Frameworks/Python.framework/Versions/3.7/Resources/ can't open file '': [Errno 2] No such file or directory\n"

test_cmd_line_script failed

For now, I'm going to disable the test for macOS frameworks but the test should get fixed.
Date User Action Args
2018-10-13 03:53:41ned.deilysetrecipients: + ned.deily, vstinner, miss-islington, xtreak, eohm
2018-10-13 03:53:41ned.deilysetmessageid: <>
2018-10-13 03:53:41ned.deilylinkissue34783 messages
2018-10-13 03:53:40ned.deilycreate