]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-150046: Fix `test_add_python_opts` to ignore `PYTHON*` env vars (#150089)
authorPradyun Gedam <pradyunsg@gmail.com>
Thu, 28 May 2026 16:48:51 +0000 (17:48 +0100)
committerGitHub <noreply@github.com>
Thu, 28 May 2026 16:48:51 +0000 (18:48 +0200)
commitef2246f788832a64ba7c5215c8e72f8e539e59b4
tree9a05912306205d3778d435910e783dfc9be1abda
parentcf2cd0be822df9e1ec6913a31da44f6960e1ab71
gh-150046: Fix `test_add_python_opts` to ignore `PYTHON*` env vars (#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.
Lib/test/test_regrtest.py