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

Method test_sigill

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

Source from the content-addressed store, hash-verified

266 @support.skip_if_sanitizer("TSAN itercepts SIGILL", thread=True)
267 @skip_segfault_on_android
268 def test_sigill(self):
269 self.check_fatal_error("""
270 import faulthandler
271 import signal
272
273 faulthandler.enable()
274 signal.raise_signal(signal.SIGILL)
275 """,
276 5,
277 'Illegal instruction')
278
279 @unittest.skipIf(_testcapi is None, 'need _testcapi')
280 def check_fatal_error_func(self, release_gil):

Callers

nothing calls this directly

Calls 1

check_fatal_errorMethod · 0.95

Tested by

no test coverage detected