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

Method test_stack_overflow

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

Source from the content-addressed store, hash-verified

325 @unittest.skipIf(not hasattr(faulthandler, '_stack_overflow'),
326 'need faulthandler._stack_overflow()')
327 def test_stack_overflow(self):
328 self.check_fatal_error("""
329 import faulthandler
330 faulthandler.enable()
331 faulthandler._stack_overflow()
332 """,
333 3,
334 '(?:Segmentation fault|Bus error)',
335 other_regex='unable to raise a stack overflow')
336
337 @skip_segfault_on_android
338 def test_gil_released(self):

Callers

nothing calls this directly

Calls 1

check_fatal_errorMethod · 0.95

Tested by

no test coverage detected