Verify the "py-list" command with one absolute argument
(self)
| 46 | bt) |
| 47 | |
| 48 | def test_one_abs_arg(self): |
| 49 | 'Verify the "py-list" command with one absolute argument' |
| 50 | bt = self.get_stack_trace(script=SAMPLE_SCRIPT, |
| 51 | cmds_after_breakpoint=['py-list 9']) |
| 52 | |
| 53 | self.assertListing(' 9 def baz(*args):\n' |
| 54 | ' >10 id(42)\n' |
| 55 | ' 11 \n' |
| 56 | ' 12 foo(1, 2, 3)\n', |
| 57 | bt) |
| 58 | |
| 59 | def test_two_abs_args(self): |
| 60 | 'Verify the "py-list" command with two absolute arguments' |
nothing calls this directly
no test coverage detected