(self)
| 2549 | ) |
| 2550 | |
| 2551 | def test_callable_argspec_call(self): |
| 2552 | class Foo: |
| 2553 | def __call__(self, x, y): |
| 2554 | pass |
| 2555 | |
| 2556 | eq_( |
| 2557 | get_callable_argspec(Foo()), |
| 2558 | compat.FullArgSpec( |
| 2559 | ["self", "x", "y"], None, None, None, [], None, {} |
| 2560 | ), |
| 2561 | ) |
| 2562 | |
| 2563 | def test_callable_argspec_call_no_self(self): |
| 2564 | class Foo: |
nothing calls this directly
no test coverage detected