Verify the "py-list" command with two absolute arguments
(self)
| 57 | bt) |
| 58 | |
| 59 | def test_two_abs_args(self): |
| 60 | 'Verify the "py-list" command with two absolute arguments' |
| 61 | bt = self.get_stack_trace(script=SAMPLE_SCRIPT, |
| 62 | cmds_after_breakpoint=['py-list 1,3']) |
| 63 | |
| 64 | self.assertListing(' 1 # Sample script for use by test_gdb\n' |
| 65 | ' 2 \n' |
| 66 | ' 3 def foo(a, b, c):\n', |
| 67 | bt) |
| 68 | |
| 69 | SAMPLE_WITH_C_CALL = """ |
| 70 |
nothing calls this directly
no test coverage detected