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

Method test_one_abs_arg

Lib/test/test_gdb/test_misc.py:48–57  ·  view source on GitHub ↗

Verify the "py-list" command with one absolute argument

(self)

Source from the content-addressed store, hash-verified

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'

Callers

nothing calls this directly

Calls 2

assertListingMethod · 0.95
get_stack_traceMethod · 0.80

Tested by

no test coverage detected