MCPcopy Index your code
hub / github.com/python/cpython / test_two_abs_args

Method test_two_abs_args

Lib/test/test_gdb/test_misc.py:59–67  ·  view source on GitHub ↗

Verify the "py-list" command with two absolute arguments

(self)

Source from the content-addressed store, hash-verified

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
69SAMPLE_WITH_C_CALL = """
70

Callers

nothing calls this directly

Calls 2

assertListingMethod · 0.95
get_stack_traceMethod · 0.80

Tested by

no test coverage detected