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

Method test_just_raise

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

Source from the content-addressed store, hash-verified

313 self.check_events(just_pass)
314
315 def test_just_raise(self):
316 try:
317 self.check_events(just_raise)
318 except Exception:
319 pass
320 self.assertEqual(sys.monitoring.get_events(TEST_TOOL), 0)
321
322 def test_just_call(self):
323 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