Skip to content

[3.15] gh-152548: Report a subprocess of runInSubprocess() dying after the test (GH-155162) - #155167

Open
miss-islington wants to merge 1 commit into
python:3.15from
miss-islington:backport-ef0affb-3.15
Open

[3.15] gh-152548: Report a subprocess of runInSubprocess() dying after the test (GH-155162)#155167
miss-islington wants to merge 1 commit into
python:3.15from
miss-islington:backport-ef0affb-3.15

Conversation

@miss-islington

@miss-islingtonmiss-islington commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

The subprocess writes the result of the test before exiting, so a crash
during interpreter finalization left the result intact and the test was
reported as passed. Check the exit code too, after replaying the outcomes,
so that a failure of the test itself is still reported as a failure.
(cherry picked from commit ef0affb)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com
Co-authored-by: Claude Opus 5 (1M context) noreply@anthropic.com

… the test (pythonGH-155162)
The subprocess writes the result of the test before exiting, so a crash
during interpreter finalization left the result intact and the test was
reported as passed. Check the exit code too, after replaying the outcomes,
so that a failure of the test itself is still reported as a failure.
(cherry picked from commit ef0affbf7c1cb8bbc136b65cc0f02985f8c568b5)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@miss-islington@serhiy-storchaka