(self)
| 2527 | ) |
| 2528 | |
| 2529 | def test_callable_argspec_init(self): |
| 2530 | class Foo: |
| 2531 | def __init__(self, x, y): |
| 2532 | pass |
| 2533 | |
| 2534 | eq_( |
| 2535 | get_callable_argspec(Foo), |
| 2536 | compat.FullArgSpec( |
| 2537 | ["self", "x", "y"], None, None, None, [], None, {} |
| 2538 | ), |
| 2539 | ) |
| 2540 | |
| 2541 | def test_callable_argspec_init_no_self(self): |
| 2542 | class Foo: |
nothing calls this directly
no test coverage detected