]> granicus.if.org Git - python/commit
bpo-33629: Prevent coredump in test_importlib (GH-7090)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 24 May 2018 21:07:44 +0000 (14:07 -0700)
committerGitHub <noreply@github.com>
Thu, 24 May 2018 21:07:44 +0000 (14:07 -0700)
commitfc0356d2a34719df517a5056bf1a3709850776cf
treeac7ad5055c250d2dc4349512f74f4ab6f7a38195
parentf0e04b2ae27a4da940a76ae522f0438f80ce5d5a
bpo-33629: Prevent coredump in test_importlib (GH-7090)

bpo-32374, bpo-33629: Use support.SuppressCrashReport() in
test_bad_traverse() of MultiPhaseExtensionModuleTests to prevent
leaking a core dump file.
(cherry picked from commit 483000e164ec68717d335767b223ae31b4b720cf)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
Lib/test/test_importlib/extension/test_loader.py