]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-106714: Fix test_capi to not write a coredump (GH-107007) (#107009)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 22 Jul 2023 12:48:41 +0000 (05:48 -0700)
committerGitHub <noreply@github.com>
Sat, 22 Jul 2023 12:48:41 +0000 (12:48 +0000)
commit713590f9b2bef0641511b5195bdbb4c9253e9b8c
tree3f98345682f57cd44570a97662e0e167ef8d96bf
parent76fd98a675d0c1a4f61735f9038e1f8282b60177
[3.12] gh-106714: Fix test_capi to not write a coredump (GH-107007) (#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 4a1026d7647c084b0dc80dd49163d16ba12a2e55)

Co-authored-by: Victor Stinner <vstinner@python.org>
Lib/test/test_capi/test_misc.py
Misc/NEWS.d/next/Tests/2023-07-22-13-49-40.gh-issue-106714.btYI5S.rst [new file with mode: 0644]