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

Method test_try_finally

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

Source from the content-addressed store, hash-verified

983 recorders = self.exception_recorders)
984
985 def test_try_finally(self):
986
987 def func():
988 try:
989 try:
990 1/0
991 finally:
992 pass
993 except:
994 pass
995
996 self.check_balanced(
997 func,
998 recorders = self.exception_recorders)
999
1000 def test_async_for(self):
1001

Callers

nothing calls this directly

Calls 1

check_balancedMethod · 0.80

Tested by

no test coverage detected