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

Method test_step

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

Source from the content-addressed store, hash-verified

591 """Test the step, next, return, until and quit 'set_' methods."""
592
593 def test_step(self):
594 self.expect_set = [
595 ('line', 2, 'tfunc_main'), ('step', ),
596 ('line', 3, 'tfunc_main'), ('step', ),
597 ('call', 1, 'tfunc_first'), ('step', ),
598 ('line', 2, 'tfunc_first'), ('quit', ),
599 ]
600 with TracerRun(self) as tracer:
601 tracer.runcall(tfunc_main)
602
603 def test_step_next_on_last_statement(self):
604 for set_type in ('step', 'next'):

Callers

nothing calls this directly

Calls 2

TracerRunClass · 0.85
runcallMethod · 0.45

Tested by

no test coverage detected