]> 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 20:44:56 +0000 (13:44 -0700)
committerGitHub <noreply@github.com>
Thu, 24 May 2018 20:44:56 +0000 (13:44 -0700)
commitd9eb22c67c38b45764dd924801c72092770d200f
tree42663226d574bc6e8bcfa38d7f24df1f6b1ccea2
parent2fe940c727802ad54cff9486c658bc38743f7bfc
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