| 1257 | |
| 1258 | def test_abc(self): |
| 1259 | class AbstractClass(abc.ABC): |
| 1260 | @abc.abstractmethod |
| 1261 | def some_method(self): |
| 1262 | """A method""" |
| 1263 | |
| 1264 | @classmethod |
| 1265 | @abc.abstractmethod |
| 1266 | def some_classmethod(cls): |
| 1267 | """A classmethod""" |
| 1268 | |
| 1269 | @staticmethod |
| 1270 | @abc.abstractmethod |
| 1271 | def some_staticmethod(): |
| 1272 | """A staticmethod""" |
| 1273 | |
| 1274 | @property |
| 1275 | @abc.abstractmethod |
| 1276 | def some_property(): |
| 1277 | """A property""" |
| 1278 | |
| 1279 | class ConcreteClass(AbstractClass): |
| 1280 | def some_method(self): |
nothing calls this directly
no outgoing calls
no test coverage detected