MCPcopy Create free account
hub / github.com/cloudpipe/cloudpickle / AbstractClass

Class AbstractClass

tests/cloudpickle_test.py:1259–1277  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected