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

Method test_dump_c_stack

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

Source from the content-addressed store, hash-verified

973
974
975 def test_dump_c_stack(self):
976 code = dedent("""
977 import faulthandler
978 faulthandler.dump_c_stack()
979 """)
980 output, exitcode = self.get_output(code)
981 self.assertEqual(exitcode, 0)
982 self.check_c_stack(output)
983
984
985 def test_dump_c_stack_file(self):

Callers

nothing calls this directly

Calls 4

get_outputMethod · 0.95
check_c_stackMethod · 0.95
dedentFunction · 0.90
assertEqualMethod · 0.45

Tested by

no test coverage detected