| 1319 | self.assertRaises(TypeError, depickled_base) |
| 1320 | |
| 1321 | class DepickledBaseSubclass(depickled_base): |
| 1322 | def some_method(self): |
| 1323 | return "it works for realz!" |
| 1324 | |
| 1325 | @classmethod |
| 1326 | def some_classmethod(cls): |
| 1327 | assert cls == DepickledBaseSubclass |
| 1328 | return "it works for realz!" |
| 1329 | |
| 1330 | @staticmethod |
| 1331 | def some_staticmethod(): |
| 1332 | return "it works for realz!" |
| 1333 | |
| 1334 | @property |
| 1335 | def some_property(): |
| 1336 | return "it works for realz!" |
| 1337 | |
| 1338 | self.assertEqual(DepickledBaseSubclass().some_method(), "it works for realz!") |
| 1339 |
no outgoing calls