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

Method some_inner

Lib/test/test_traceback.py:3436–3440  ·  view source on GitHub ↗
(k, v)

Source from the content-addressed store, hash-verified

3434
3435 def test_format_locals(self):
3436 def some_inner(k, v):
3437 a = 1
3438 b = 2
3439 return traceback.StackSummary.extract(
3440 traceback.walk_stack(None), capture_locals=True, limit=1)
3441 s = some_inner(3, 4)
3442 self.assertEqual(
3443 [' File "%s", line %d, in some_inner\n'

Callers

nothing calls this directly

Calls 1

extractMethod · 0.45

Tested by

no test coverage detected