| 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 |