Skip to content

gh-155491: Fix subprocess test_encoding_warning() - #155492

Merged
vstinner merged 1 commit into
python:mainfrom
vstinner:subprocess_warnings
Aug 10, 2026
Merged

gh-155491: Fix subprocess test_encoding_warning()#155492
vstinner merged 1 commit into
python:mainfrom
vstinner:subprocess_warnings

Conversation

@vstinner

@vstinner vstinner commented Aug 10, 2026

Copy link
Copy Markdown
Member

The test fails if run using PYTHONWARNINGS=error environment variable. Use make_clean_env() function to not inherit PYTHON environment variables.

The test fails if run using PYTHONWARNINGS=error environment
variable. Use make_clean_env() function to not inherit PYTHON
environment variables.
@vstinner
vstinner requested a review from gpshead as a code owner August 10, 2026 15:56
@vstinner vstinner added skip news needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes needs backport to 3.15 pre-release feature fixes, bugs and security fixes labels Aug 10, 2026
@bedevere-app bedevere-app Bot added the tests Tests in the Lib/test dir label Aug 10, 2026
@vstinner
vstinner merged commit 433c842 into python:main Aug 10, 2026
60 checks passed
@vstinner
vstinner deleted the subprocess_warnings branch August 10, 2026 18:24
@miss-islington-app

Copy link
Copy Markdown

Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14, 3.15.
🐍🍒⛏🤖

@bedevere-app

bedevere-app Bot commented Aug 10, 2026

Copy link
Copy Markdown

GH-155506 is a backport of this pull request to the 3.15 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.15 pre-release feature fixes, bugs and security fixes label Aug 10, 2026
@bedevere-app

bedevere-app Bot commented Aug 10, 2026

Copy link
Copy Markdown

GH-155507 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Aug 10, 2026
@bedevere-app

bedevere-app Bot commented Aug 10, 2026

Copy link
Copy Markdown

GH-155508 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.13 bugs and security fixes label Aug 10, 2026
vstinner added a commit that referenced this pull request Aug 10, 2026
…155508)

gh-155491: Fix subprocess test_encoding_warning() (GH-155492)

The test fails if run using PYTHONWARNINGS=error environment
variable. Use make_clean_env() function to not inherit PYTHON
environment variables.
(cherry picked from commit 433c842)

Co-authored-by: Victor Stinner <vstinner@python.org>
vstinner added a commit that referenced this pull request Aug 10, 2026
…155507)

gh-155491: Fix subprocess test_encoding_warning() (GH-155492)

The test fails if run using PYTHONWARNINGS=error environment
variable. Use make_clean_env() function to not inherit PYTHON
environment variables.
(cherry picked from commit 433c842)

Co-authored-by: Victor Stinner <vstinner@python.org>
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.

1 participant