mirror of
https://github.com/python/cpython.git
synced 2026-03-22 20:50:53 +00:00
gh-109615: Fix test_tools.test_freeze SRCDIR (#109935)
Fix copy_source_tree() function of test_tools.test_freeze:
* Don't copy SRC_DIR/build/ anymore. This directory is modified by
other tests running in parallel.
* Add test.support.copy_python_src_ignore().
* Use sysconfig to get the source directory.
* Use sysconfig.get_config_var() to get CONFIG_ARGS variable.
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| cmdline.py | ||
| main.py | ||
| pgo.py | ||
| refleak.py | ||
| runtest.py | ||
| runtest_mp.py | ||
| save_env.py | ||
| setup.py | ||
| utils.py | ||
| win_utils.py | ||