]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-150046: Fix `test_add_python_opts` to ignore `PYTHON*` env vars (GH-150089...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 28 May 2026 17:15:20 +0000 (19:15 +0200)
committerGitHub <noreply@github.com>
Thu, 28 May 2026 17:15:20 +0000 (17:15 +0000)
commitd4e6dee0800f35e50b459269c5da2b91c071af0b
treedc71d0a0d6c0796ff6516f60174d06e3c949e14b
parente4a23c8ff6436ff326eb4ba578114b4d591f10d2
[3.14] gh-150046: Fix `test_add_python_opts` to ignore `PYTHON*` env vars (GH-150089) (#150562)

gh-150046: Fix `test_add_python_opts` to ignore `PYTHON*` env vars (GH-150089)

Avoid the runtime environment from affecting the tests' behaviours,
which notably checks the warning filters which can be controlled by
various PYTHON environment variables.
(cherry picked from commit ef2246f788832a64ba7c5215c8e72f8e539e59b4)

Co-authored-by: Pradyun Gedam <pradyunsg@gmail.com>
Lib/test/test_regrtest.py