(self)
| 742 | self.assertFalse(getattr(func, '__isabstractmethod__', False)) |
| 743 | |
| 744 | def test_positional_only(self): |
| 745 | def f(a, b, /): |
| 746 | return a + b |
| 747 | |
| 748 | p = functools.partial(f, 1) |
| 749 | self.assertEqual(p(2), f(1, 2)) |
| 750 | |
| 751 | def test_subclass_optimization(self): |
| 752 | class PartialMethodSubclass(functools.partialmethod): |
nothing calls this directly
no test coverage detected