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

Method test_sigill

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

Source from the content-addressed store, hash-verified

290 @support.skip_if_sanitizer("TSAN itercepts SIGILL", thread=True)
291 @skip_segfault_on_android
292 def test_sigill(self):
293 self.check_fatal_error("""
294 import faulthandler
295 import signal
296
297 faulthandler.enable()
298 signal.raise_signal(signal.SIGILL)
299 """,
300 5,
301 'Illegal instruction')
302
303 @unittest.skipIf(_testcapi is None, 'need _testcapi')
304 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