summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_faulthandler.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-03-23 13:44:14 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2016-03-23 13:44:14 (GMT)
commit412a5e7e2349689ab408c9475401c83886108e75 (patch)
treea0be3cf75dd62a62ac7574c16ff585f139aef0d7 /Lib/test/test_faulthandler.py
parentb9e0834f468b9c6c0fa1f2758971a3182e3cd863 (diff)
downloadcpython-412a5e7e2349689ab408c9475401c83886108e75.zip
cpython-412a5e7e2349689ab408c9475401c83886108e75.tar.gz
cpython-412a5e7e2349689ab408c9475401c83886108e75.tar.bz2
faulthandler: only log fatal exceptions
Issue #23848, #26622: * faulthandler now only logs fatal Windows exceptions. * write error code as decimal, not as hexadecimal * replace "Windows exception" with "Windows fatal exception"
Diffstat (limited to 'Lib/test/test_faulthandler.py')
-rw-r--r--Lib/test/test_faulthandler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_faulthandler.py b/Lib/test/test_faulthandler.py
index fbd535b..a3a2116 100644
--- a/Lib/test/test_faulthandler.py
+++ b/Lib/test/test_faulthandler.py
@@ -115,7 +115,7 @@ class FaultHandlerTests(unittest.TestCase):
self.check_error(code, line_number, fatal_error, **kw)
def check_windows_exception(self, code, line_number, name_regex, **kw):
- fatal_error = 'Windows exception: %s' % name_regex
+ fatal_error = 'Windows fatal exception: %s' % name_regex
self.check_error(code, line_number, fatal_error, **kw)
@unittest.skipIf(sys.platform.startswith('aix'),