Issue #18948: improve SuppressCoreFiles to include Windows crash popup suppression, and use it in more tests.

Patch by Valerie Lambert and Zachary Ware.
This commit is contained in:
Antoine Pitrou 2013-10-08 23:04:32 +02:00
parent 3ebbb04af2
commit 77e904e6a6
8 changed files with 87 additions and 94 deletions

View file

@ -1231,7 +1231,7 @@ class POSIXProcessTestCase(BaseTestCase):
def test_run_abort(self):
# returncode handles signal termination
with support.SuppressCoreFiles():
with support.SuppressCrashReport():
p = subprocess.Popen([sys.executable, "-c",
'import os; os.abort()'])
p.wait()