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

Method test_sigsegv

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

Source from the content-addressed store, hash-verified

168
169 @skip_segfault_on_android
170 def test_sigsegv(self):
171 self.check_fatal_error("""
172 import faulthandler
173 faulthandler.enable()
174 faulthandler._sigsegv()
175 """,
176 3,
177 'Segmentation fault')
178
179 @skip_segfault_on_android
180 def test_gc(self):

Callers

nothing calls this directly

Calls 1

check_fatal_errorMethod · 0.95

Tested by

no test coverage detected