(self, node)
| 49 | for d in node.decorator_list) |
| 50 | |
| 51 | def visit_If(self, node): |
| 52 | if isinstance(node.test, ast.Compare) \ |
| 53 | and isinstance(node.test.left, ast.Name) \ |
| 54 | and node.test.left.id == '__name__': |
| 55 | return # Ignore classes defined in "if __name__ == '__main__':" |
| 56 | |
| 57 | self.generic_visit(node) |
| 58 | |
| 59 | def visit_FunctionDef(self, node): |
| 60 | if not (node.name.startswith('_') or self.has_undoc_decorator(node)) \ |
nothing calls this directly
no test coverage detected