Skip to content

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Jul 22, 2023

test_capi: Fix test_no_FatalError_infinite_loop() to no longer write a coredump, by using test.support.SuppressCrashReport.

test_capi: Fix test_no_FatalError_infinite_loop() to no longer write
a coredump, by using test.support.SuppressCrashReport.
@vstinner vstinner added needs backport to 3.11 only security fixes needs backport to 3.12 only security fixes labels Jul 22, 2023
@bedevere-bot bedevere-bot added awaiting core review tests Tests in the Lib/test dir labels Jul 22, 2023
@vstinner vstinner enabled auto-merge (squash) July 22, 2023 12:00
@vstinner vstinner merged commit 4a1026d into python:main Jul 22, 2023
@miss-islington
Copy link
Contributor

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

@miss-islington
Copy link
Contributor

Sorry, @vstinner, I could not cleanly backport this to 3.11 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker 4a1026d7647c084b0dc80dd49163d16ba12a2e55 3.11

@bedevere-bot
Copy link

GH-107009 is a backport of this pull request to the 3.12 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.12 only security fixes label Jul 22, 2023
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 22, 2023
test_capi: Fix test_no_FatalError_infinite_loop() to no longer write
a coredump, by using test.support.SuppressCrashReport.
(cherry picked from commit 4a1026d)

Co-authored-by: Victor Stinner <[email protected]>
@vstinner vstinner deleted the test_capi_coredump branch July 22, 2023 12:28
@vstinner vstinner removed the needs backport to 3.11 only security fixes label Jul 22, 2023
@vstinner
Copy link
Member Author

Python 3.11 is not affected: #106714 (comment)

vstinner added a commit that referenced this pull request Jul 22, 2023
…107009)

gh-106714: Fix test_capi to not write a coredump (GH-107007)

test_capi: Fix test_no_FatalError_infinite_loop() to no longer write
a coredump, by using test.support.SuppressCrashReport.
(cherry picked from commit 4a1026d)

Co-authored-by: Victor Stinner <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants