From 77e904e6a6d8fefd8c6100ea33cf46fb69b45efd Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Tue, 8 Oct 2013 23:04:32 +0200 Subject: Issue #18948: improve SuppressCoreFiles to include Windows crash popup suppression, and use it in more tests. Patch by Valerie Lambert and Zachary Ware. --- Lib/test/test_threading.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Lib/test/test_threading.py') diff --git a/Lib/test/test_threading.py b/Lib/test/test_threading.py index c39d5e26c7..826acbb32e 100644 --- a/Lib/test/test_threading.py +++ b/Lib/test/test_threading.py @@ -839,7 +839,8 @@ class SubinterpThreadingTests(BaseTestCase): _testcapi.run_in_subinterp(%r) """ % (subinterp_code,) - rc, out, err = assert_python_failure("-c", script) + with test.support.SuppressCrashReport(): + rc, out, err = assert_python_failure("-c", script) self.assertIn("Fatal Python error: Py_EndInterpreter: " "not the last thread", err.decode()) -- cgit v1.2.1