| 1277 | """A property""" |
| 1278 | |
| 1279 | class ConcreteClass(AbstractClass): |
| 1280 | def some_method(self): |
| 1281 | return "it works!" |
| 1282 | |
| 1283 | @classmethod |
| 1284 | def some_classmethod(cls): |
| 1285 | assert cls == ConcreteClass |
| 1286 | return "it works!" |
| 1287 | |
| 1288 | @staticmethod |
| 1289 | def some_staticmethod(): |
| 1290 | return "it works!" |
| 1291 | |
| 1292 | @property |
| 1293 | def some_property(self): |
| 1294 | return "it works!" |
| 1295 | |
| 1296 | # This abstract class is locally defined so we can safely register |
| 1297 | # tuple in it to verify the unpickled class also register tuple. |
no outgoing calls