]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-109566: Fix regrtest code adding Python options (#109926)
authorVictor Stinner <vstinner@python.org>
Tue, 26 Sep 2023 21:59:11 +0000 (23:59 +0200)
committerGitHub <noreply@github.com>
Tue, 26 Sep 2023 21:59:11 +0000 (21:59 +0000)
commit9abba715e3225b8e4c4b7dd0ed528ef3a3057bea
treebe235ccdd995e2e0497b897f5c6838e13361a414
parent87ddfa74e2d37f6837351ed2bafc7d6d55fe2fd0
gh-109566: Fix regrtest code adding Python options (#109926)

* On Windows, use subprocess.run() instead of os.execv().
* Only add needed options
* Rename reexec parameter to _add_python_opts.
* Rename --no-reexec option to --dont-add-python-opts.
Lib/test/__main__.py
Lib/test/libregrtest/cmdline.py
Lib/test/libregrtest/main.py
Lib/test/test_regrtest.py