(self, typ: Type, context: Context)
| 2104 | ) |
| 2105 | |
| 2106 | def concrete_only_call(self, typ: Type, context: Context) -> None: |
| 2107 | self.fail( |
| 2108 | f"Only concrete class can be given where {format_type(typ, self.options)} is expected", |
| 2109 | context, |
| 2110 | code=codes.TYPE_ABSTRACT, |
| 2111 | ) |
| 2112 | |
| 2113 | def cannot_use_function_with_type( |
| 2114 | self, method_name: str, type_name: str, context: Context |
no test coverage detected