MCPcopy Index your code
hub / github.com/python/cpython / test_fatal_error_c_thread

Method test_fatal_error_c_thread

Lib/test/test_faulthandler.py:215–225  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

213 garbage_collecting=True)
214
215 def test_fatal_error_c_thread(self):
216 self.check_fatal_error("""
217 import faulthandler
218 faulthandler.enable()
219 faulthandler._fatal_error_c_thread()
220 """,
221 3,
222 'in new thread',
223 know_current_thread=False,
224 func='faulthandler_fatal_error_thread',
225 py_fatal_error=True)
226
227 @support.skip_if_sanitizer("TSAN itercepts SIGABRT", thread=True)
228 def test_sigabrt(self):

Callers

nothing calls this directly

Calls 1

check_fatal_errorMethod · 0.95

Tested by

no test coverage detected