mirror of
https://github.com/python/cpython.git
synced 2025-11-01 06:01:29 +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". |
||
|---|---|---|
| .. | ||
| patchcheck.py | ||
| reindent.py | ||
| untabify.py | ||