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

Method test_sigabrt

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

Source from the content-addressed store, hash-verified

226
227 @support.skip_if_sanitizer("TSAN itercepts SIGABRT", thread=True)
228 def test_sigabrt(self):
229 self.check_fatal_error("""
230 import faulthandler
231 faulthandler.enable()
232 faulthandler._sigabrt()
233 """,
234 3,
235 'Aborted')
236
237 @unittest.skipIf(sys.platform == 'win32',
238 "SIGFPE cannot be caught on Windows")

Callers

nothing calls this directly

Calls 1

check_fatal_errorMethod · 0.95

Tested by

no test coverage detected