cpython/Tools/freeze/test
Victor Stinner 8ac20e5404
[3.11] gh-109615: Fix support test_copy_python_src_ignore() (#109958) (#109962)
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".

(cherry picked from commit b89ed9df39)
2023-09-27 11:00:22 +00:00
..
freeze.py [3.11] gh-109615: Fix support test_copy_python_src_ignore() (#109958) (#109962) 2023-09-27 11:00:22 +00:00
Makefile bpo-31462: Remove trailing whitespaces. (#3564) 2017-09-14 09:38:36 +03:00
ok.py Add test case for freeze. 2014-03-30 20:18:58 +02:00