diff options
author | Victor Stinner <vstinner@python.org> | 2023-09-27 12:32:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-27 12:32:12 +0200 |
commit | b89ed9df39851348fbb1552294644f99f6b17d2c (patch) | |
tree | 71b0a04c09ee2ed373dff487f7ce64da965c426f /Python/ceval_macros.h | |
parent | 91fb8daa2494df4dd6a841ca8c742a03175c7ecd (diff) | |
download | cpython-b89ed9df39851348fbb1552294644f99f6b17d2c.tar.gz cpython-b89ed9df39851348fbb1552294644f99f6b17d2c.zip |
gh-109615: Fix support test_copy_python_src_ignore() (#109958)
Fix the test when run on an installed Python: use "abs_srcdir" of
sysconfig, and skip the test if the Python source code cannot be
found.
* Tools/patchcheck/patchcheck.py, Tools/freeze/test/freeze.py and
Lib/test/libregrtest/utils.py now first try to get "abs_srcdir"
from sysconfig, before getting "srcdir" from sysconfig.
* test.pythoninfo logs sysconfig "abs_srcdir".
Diffstat (limited to 'Python/ceval_macros.h')
0 files changed, 0 insertions, 0 deletions