(self)
| 635 | tracer.runcall(tfunc_main) |
| 636 | |
| 637 | def test_next_over_import(self): |
| 638 | code = """ |
| 639 | def main(): |
| 640 | lno = 3 |
| 641 | """ |
| 642 | modules = { TEST_MODULE: code } |
| 643 | with create_modules(modules): |
| 644 | self.expect_set = [ |
| 645 | ('line', 2, 'tfunc_import'), ('next', ), |
| 646 | ('line', 3, 'tfunc_import'), ('quit', ), |
| 647 | ] |
| 648 | with TracerRun(self) as tracer: |
| 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 |
nothing calls this directly
no test coverage detected