(self)
| 446 | self.assertEqual(new_method(41), 7) |
| 447 | |
| 448 | def test_partial(self): |
| 449 | partial_obj = functools.partial(min, 1) |
| 450 | partial_clone = pickle_depickle(partial_obj, protocol=self.protocol) |
| 451 | self.assertEqual(partial_clone(4), 1) |
| 452 | |
| 453 | @pytest.mark.skipif( |
| 454 | platform.python_implementation() == "PyPy", |
nothing calls this directly
no test coverage detected