summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_sys.py
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2013-10-08 21:04:32 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2013-10-08 21:04:32 (GMT)
commit77e904e6a6d8fefd8c6100ea33cf46fb69b45efd (patch)
tree4d28ca9d42d5f2ada23b443b4e26e8d23b2c49cc /Lib/test/test_sys.py
parent3ebbb04af2c8d7bda2de941bf96205b154963316 (diff)
downloadcpython-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_sys.py')
-rw-r--r--Lib/test/test_sys.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_sys.py b/Lib/test/test_sys.py
index 70b55b2..8437745 100644
--- a/Lib/test/test_sys.py
+++ b/Lib/test/test_sys.py
@@ -250,7 +250,7 @@ class SysModuleTest(unittest.TestCase):
sys.setrecursionlimit(%d)
f()""")
- with test.support.suppress_crash_popup():
+ with test.support.SuppressCrashReport():
for i in (50, 1000):
sub = subprocess.Popen([sys.executable, '-c', code % i],
stderr=subprocess.PIPE)