mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
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:
parent
3ebbb04af2
commit
77e904e6a6
8 changed files with 87 additions and 94 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue