MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_simple

Method test_simple

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

Source from the content-addressed store, hash-verified

101 return HookWatcher()
102
103 def test_simple(self):
104 def f(p):
105 pass
106 f_ident = ident(f)
107 self.check_events(f, [(1, 'call', f_ident),
108 (1, 'return', f_ident),
109 ])
110
111 def test_exception(self):
112 def f(p):

Callers

nothing calls this directly

Calls 2

identFunction · 0.85
check_eventsMethod · 0.45

Tested by

no test coverage detected