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

Method test_implicit_reraise

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

Source from the content-addressed store, hash-verified

952 recorders = self.exception_recorders)
953
954 def test_implicit_reraise(self):
955
956 def func():
957 try:
958 try:
959 1/0
960 except ValueError:
961 pass
962 except:
963 pass
964
965 self.check_balanced(
966 func,
967 recorders = self.exception_recorders)
968
969
970 def test_implicit_reraise_named(self):

Callers

nothing calls this directly

Calls 1

check_balancedMethod · 0.80

Tested by

no test coverage detected