]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-116656: Fix test_capi test_py_config_isoloated_per_interpreter() (GH-116658...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 12 Mar 2024 18:06:32 +0000 (19:06 +0100)
committerGitHub <noreply@github.com>
Tue, 12 Mar 2024 18:06:32 +0000 (19:06 +0100)
commitb38c04e70c63ae880da857891444c1be56474da1
tree0f44983400bd4fe41ee71c63db60b86e79314a51
parentd19c2eb604b8de96f5f77bab0fdf82b44390d960
[3.12] gh-116656: Fix test_capi test_py_config_isoloated_per_interpreter() (GH-116658) (#116668)

gh-116656: Fix test_capi test_py_config_isoloated_per_interpreter() (GH-116658)

Don't parse argv when setting the configuration, to avoid SystemExit if parsing argv fails.
(cherry picked from commit f6e7a6ce651b43c6e060608a4bb20685f39e9eaa)

Co-authored-by: Victor Stinner <vstinner@python.org>
Lib/test/test_capi/test_misc.py