diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2013-10-08 23:04:32 +0200 |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2013-10-08 23:04:32 +0200 |
commit | 77e904e6a6d8fefd8c6100ea33cf46fb69b45efd (patch) | |
tree | 4d28ca9d42d5f2ada23b443b4e26e8d23b2c49cc /Lib/test/test_threading.py | |
parent | 3ebbb04af2c8d7bda2de941bf96205b154963316 (diff) | |
download | cpython-git-77e904e6a6d8fefd8c6100ea33cf46fb69b45efd.tar.gz |
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_threading.py')
-rw-r--r-- | Lib/test/test_threading.py | 3 |
1 files changed, 2 insertions, 1 deletions
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()) |