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

Method test_raise_twice

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

Source from the content-addressed store, hash-verified

180 ])
181
182 def test_raise_twice(self):
183 def f(p):
184 try: 1/0
185 except: 1/0
186 f_ident = ident(f)
187 self.check_events(f, [(1, 'call', f_ident),
188 (1, 'return', f_ident),
189 ])
190
191 def test_raise_reraise(self):
192 def f(p):

Callers

nothing calls this directly

Calls 2

identFunction · 0.85
check_eventsMethod · 0.45

Tested by

no test coverage detected