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

Method test_return

Lib/test/test_bdb.py:676–686  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

674 tracer.runcall(tfunc_main)
675
676 def test_return(self):
677 self.expect_set = [
678 ('line', 2, 'tfunc_main'), ('step', ),
679 ('line', 3, 'tfunc_main'), ('step', ),
680 ('call', 1, 'tfunc_first'), ('step', ),
681 ('line', 2, 'tfunc_first'), ('return', ),
682 ('return', 4, 'tfunc_first'), ('step', ),
683 ('line', 4, 'tfunc_main'), ('quit', ),
684 ]
685 with TracerRun(self) as tracer:
686 tracer.runcall(tfunc_main)
687
688 def test_return_in_caller_frame(self):
689 self.expect_set = [

Callers

nothing calls this directly

Calls 2

TracerRunClass · 0.85
runcallMethod · 0.45

Tested by

no test coverage detected