(self)
| 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'): |