mirror of
https://github.com/python/cpython.git
synced 2026-03-10 23:10:48 +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 | ||
| bytecode_helper.py | ||
| hashlib_helper.py | ||
| import_helper.py | ||
| interpreters.py | ||
| logging_helper.py | ||
| os_helper.py | ||
| script_helper.py | ||
| socket_helper.py | ||
| testresult.py | ||
| threading_helper.py | ||
| warnings_helper.py | ||