Path 1: 418 calls (1.0)
→ body list (418)
↩ return False (335) True (83)
⚠ exception GeneratorExit (83)
1def _is_raising(body: list[nodes.NodeNG]) -> bool: 2 """Return whether the given statement node raises an exception.""" 3 return any(isinstance(node, nodes.Raise) for node in body)