Path 1: 1766 calls (1.0)

ClassDef (1766)

False (1760) True (6)

1def _has_abstract_methods(node: nodes.ClassDef) -> bool:
2    """Determine if the given `node` has abstract methods.
3
4    The methods should be made abstract by decorating them
5    with `abc` decorators.
6    """
7    return len(utils.unimplemented_abstract_methods(node)) > 0