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

Method test_raise_reraise

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

Source from the content-addressed store, hash-verified

194 ])
195
196 def test_raise_reraise(self):
197 def f(p):
198 try: 1/0
199 except ZeroDivisionError: raise
200 f_ident = ident(f)
201 self.check_events(f, [(1, 'call', f_ident),
202 (1, 'return', f_ident),
203 ])
204
205 def test_raise(self):
206 def f(p):

Callers

nothing calls this directly

Calls 2

identFunction · 0.85
check_eventsMethod · 0.45

Tested by

no test coverage detected