Path 1: 130 calls (1.0)

ClassDef (130)

False (116) True (14)

1def is_exception(node: nodes.ClassDef) -> bool:
2    # bw compatibility
3    return node.type == "exception"  # type: ignore[no-any-return]