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

Method test_next_on_plain_statement

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

Source from the content-addressed store, hash-verified

649 tracer.runcall(tfunc_import)
650
651 def test_next_on_plain_statement(self):
652 # Check that set_next() is equivalent to set_step() on a plain
653 # statement.
654 self.expect_set = [
655 ('line', 2, 'tfunc_main'), ('step', ),
656 ('line', 3, 'tfunc_main'), ('step', ),
657 ('call', 1, 'tfunc_first'), ('next', ),
658 ('line', 2, 'tfunc_first'), ('quit', ),
659 ]
660 with TracerRun(self) as tracer:
661 tracer.runcall(tfunc_main)
662
663 def test_next_in_caller_frame(self):
664 # Check that set_next() in the caller frame causes the tracer

Callers

nothing calls this directly

Calls 2

TracerRunClass · 0.85
runcallMethod · 0.45

Tested by

no test coverage detected