MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_sigabrt

Method test_sigabrt

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

Source from the content-addressed store, hash-verified

250
251 @support.skip_if_sanitizer("TSAN itercepts SIGABRT", thread=True)
252 def test_sigabrt(self):
253 self.check_fatal_error("""
254 import faulthandler
255 faulthandler.enable()
256 faulthandler._sigabrt()
257 """,
258 3,
259 'Aborted')
260
261 @unittest.skipIf(sys.platform == 'win32',
262 "SIGFPE cannot be caught on Windows")

Callers

nothing calls this directly

Calls 1

check_fatal_errorMethod · 0.95

Tested by

no test coverage detected