mirror of
https://github.com/python/cpython.git
synced 2025-11-14 07:49:28 +00:00
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". |
||
|---|---|---|
| .. | ||
| freeze.py | ||
| Makefile | ||
| ok.py | ||