summaryrefslogtreecommitdiffstats
path: root/Python/tracemalloc.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-09-10 23:11:22 (GMT)
committerGitHub <noreply@github.com>2023-09-10 23:11:22 (GMT)
commita939b65aa63e2cae1eec7d27e1dc56324aee01d7 (patch)
tree46d5c1d3485b3788013192fe8ff22b0ffe188269 /Python/tracemalloc.c
parente55aab95786e0e9fb36a9a1122d2d0fb3d2403cd (diff)
downloadcpython-a939b65aa63e2cae1eec7d27e1dc56324aee01d7.zip
cpython-a939b65aa63e2cae1eec7d27e1dc56324aee01d7.tar.gz
cpython-a939b65aa63e2cae1eec7d27e1dc56324aee01d7.tar.bz2
gh-109162: libregrtest: add worker.py (#109229)
Add new worker.py file: * Move create_worker_process() and worker_process() to this file. * Add main() function to worker.py. create_worker_process() now runs the command: "python -m test.libregrtest.worker JSON". * create_worker_process() now starts the worker process in the current working directory. Regrtest now gets the absolute path of the reflog.txt filename: -R command line option filename. * Remove --worker-json command line option. Remove test_regrtest.test_worker_json(). Related changes: * Add write_json() and from_json() methods to TestResult. * Rename select_temp_dir() to get_temp_dir() and move it to utils. * Rename make_temp_dir() to get_work_dir() and move it to utils. It no longer calls os.makedirs(): Regrtest.main() now calls it. * Move fix_umask() to utils. The function is now called by setup_tests(). * Move StrPath to utils. * Add exit_timeout() context manager to utils. * RunTests: Replace junit_filename (StrPath) with use_junit (bool).
Diffstat (limited to 'Python/tracemalloc.c')
0 files changed, 0 insertions, 0 deletions