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

Method test_simple

Lib/test/test_sys_setprofile.py:108–114  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

106 return HookWatcher()
107
108 def test_simple(self):
109 def f(p):
110 pass
111 f_ident = ident(f)
112 self.check_events(f, [(1, 'call', f_ident),
113 (1, 'return', f_ident),
114 ])
115
116 def test_exception(self):
117 def f(p):

Callers

nothing calls this directly

Calls 2

identFunction · 0.85
check_eventsMethod · 0.45

Tested by

no test coverage detected