(self, decorator: str, context: Context)
| 1821 | self.fail(message_registry.CLASS_PATTERN_CLASS_OR_STATIC_METHOD, dec) |
| 1822 | |
| 1823 | def check_decorated_function_is_method(self, decorator: str, context: Context) -> None: |
| 1824 | if not self.type or self.is_func_scope(): |
| 1825 | self.fail(f'"{decorator}" used with a non-method', context) |
| 1826 | |
| 1827 | # |
| 1828 | # Classes |
no test coverage detected