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

Method test_raise

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

Source from the content-addressed store, hash-verified

203 ])
204
205 def test_raise(self):
206 def f(p):
207 raise Exception()
208 f_ident = ident(f)
209 self.check_events(f, [(1, 'call', f_ident),
210 (1, 'return', f_ident),
211 ])
212
213 def test_distant_exception(self):
214 def f():

Callers

nothing calls this directly

Calls 2

identFunction · 0.85
check_eventsMethod · 0.45

Tested by

no test coverage detected