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

Method test_just_raise

Lib/test/test_monitoring.py:309–314  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

307 self.check_events(just_pass)
308
309 def test_just_raise(self):
310 try:
311 self.check_events(just_raise)
312 except Exception:
313 pass
314 self.assertEqual(sys.monitoring.get_events(TEST_TOOL), 0)
315
316 def test_just_call(self):
317 self.check_events(just_call)

Callers

nothing calls this directly

Calls 3

check_eventsMethod · 0.45
assertEqualMethod · 0.45
get_eventsMethod · 0.45

Tested by

no test coverage detected