(self)
| 336 | g(a=1, b=2, c=3) |
| 337 | |
| 338 | def test_classmethod(self): |
| 339 | class A: |
| 340 | @classmethod |
| 341 | def f(cls, x): |
| 342 | return x |
| 343 | |
| 344 | fun = head_from_fun(A.f, bound=False) |
| 345 | assert fun(A, 1) == 1 |
| 346 | |
| 347 | fun = head_from_fun(A.f, bound=True) |
| 348 | assert fun(1) == 1 |
| 349 | |
| 350 | def test_kwonly_required_args(self): |
| 351 | local = {} |
nothing calls this directly
no test coverage detected