(self_, lst)
| 3877 | def __getstate__(self): |
| 3878 | return [self.foo] |
| 3879 | def __setstate__(self_, lst): |
| 3880 | self.assertEqual(len(lst), 1) |
| 3881 | self_.__foo = self_.foo = lst[0] |
| 3882 | a = C(42) |
| 3883 | a.setfoo(24) |
| 3884 | self.assertEqual(a.foo, 24) |
nothing calls this directly
no test coverage detected