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

Method test_exception

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

Source from the content-addressed store, hash-verified

114 ])
115
116 def test_exception(self):
117 def f(p):
118 1/0
119 f_ident = ident(f)
120 self.check_events(f, [(1, 'call', f_ident),
121 (1, 'return', f_ident),
122 ])
123
124 def test_caught_exception(self):
125 def f(p):

Callers

nothing calls this directly

Calls 2

identFunction · 0.85
check_eventsMethod · 0.45

Tested by

no test coverage detected