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

Class MockFrame

Lib/idlelib/idle_test/test_debugger.py:25–30  ·  view source on GitHub ↗

Minimal mock frame.

Source from the content-addressed store, hash-verified

23
24
25class MockFrame:
26 "Minimal mock frame."
27
28 def __init__(self, code, lineno):
29 self.f_code = code
30 self.f_lineno = lineno
31
32
33class IdbTest(unittest.TestCase):

Callers 5

setUpClassMethod · 0.85
test_functionsMethod · 0.85
test_sync_source_lineMethod · 0.85
setUpMethod · 0.85

Calls

no outgoing calls

Tested by 5

setUpClassMethod · 0.68
test_functionsMethod · 0.68
test_sync_source_lineMethod · 0.68
setUpMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…