Skip to content

[3.15] gh-150046: Fix test_add_python_opts to ignore PYTHON* env vars (GH-150089)#150561

Merged
vstinner merged 1 commit into
python:3.15from
miss-islington:backport-ef2246f-3.15
May 28, 2026
Merged

[3.15] gh-150046: Fix test_add_python_opts to ignore PYTHON* env vars (GH-150089)#150561
vstinner merged 1 commit into
python:3.15from
miss-islington:backport-ef2246f-3.15

Conversation

@miss-islington
Copy link
Copy Markdown
Contributor

@miss-islington miss-islington commented May 28, 2026

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 ef2246f)

Co-authored-by: Pradyun Gedam pradyunsg@gmail.com

…ars (pythonGH-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>
@bedevere-app bedevere-app Bot added the tests Tests in the Lib/test dir label May 28, 2026
@vstinner vstinner enabled auto-merge (squash) May 28, 2026 16:49
@vstinner vstinner merged commit 7766648 into python:3.15 May 28, 2026
57 checks passed
@miss-islington miss-islington deleted the backport-ef2246f-3.15 branch May 28, 2026 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants