diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2013-10-08 21:04:32 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2013-10-08 21:04:32 (GMT) |
commit | 77e904e6a6d8fefd8c6100ea33cf46fb69b45efd (patch) | |
tree | 4d28ca9d42d5f2ada23b443b4e26e8d23b2c49cc /Lib/test/test_capi.py | |
parent | 3ebbb04af2c8d7bda2de941bf96205b154963316 (diff) | |
download | cpython-77e904e6a6d8fefd8c6100ea33cf46fb69b45efd.zip cpython-77e904e6a6d8fefd8c6100ea33cf46fb69b45efd.tar.gz cpython-77e904e6a6d8fefd8c6100ea33cf46fb69b45efd.tar.bz2 |
Issue #18948: improve SuppressCoreFiles to include Windows crash popup suppression, and use it in more tests.
Patch by Valerie Lambert and Zachary Ware.
Diffstat (limited to 'Lib/test/test_capi.py')
-rw-r--r-- | Lib/test/test_capi.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_capi.py b/Lib/test/test_capi.py index 62827e5..bbbacc2 100644 --- a/Lib/test/test_capi.py +++ b/Lib/test/test_capi.py @@ -44,7 +44,7 @@ class CAPITest(unittest.TestCase): @unittest.skipUnless(threading, 'Threading required for this test.') def test_no_FatalError_infinite_loop(self): - with support.suppress_crash_popup(): + with support.SuppressCrashReport(): p = subprocess.Popen([sys.executable, "-c", 'import _testcapi;' '_testcapi.crash_no_current_thread()'], |