(self)
| 512 | self.assertEqual(A.test_cm(), "cm") |
| 513 | |
| 514 | def test_bound_classmethod(self): |
| 515 | class A: |
| 516 | @classmethod |
| 517 | def test_cm(cls): |
| 518 | return "cm" |
| 519 | |
| 520 | A.test_cm = pickle_depickle(A.test_cm, protocol=self.protocol) |
| 521 | self.assertEqual(A.test_cm(), "cm") |
| 522 | |
| 523 | def test_method_descriptors(self): |
| 524 | f = pickle_depickle(str.upper) |
nothing calls this directly
no test coverage detected