| 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 |
| 665 | # to stop next in the caller frame. |
| 666 | self.expect_set = [ |
| 667 | ('line', 2, 'tfunc_main'), ('step', ), |
| 668 | ('line', 3, 'tfunc_main'), ('step', ), |
| 669 | ('call', 1, 'tfunc_first'), ('up', ), |
| 670 | ('None', 3, 'tfunc_main'), ('next', ), |
| 671 | ('line', 4, 'tfunc_main'), ('quit', ), |
| 672 | ] |
| 673 | with TracerRun(self) as tracer: |
| 674 | tracer.runcall(tfunc_main) |
| 675 | |
| 676 | def test_return(self): |
| 677 | self.expect_set = [ |