MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / test_callable_argspec_init

Method test_callable_argspec_init

test/base/test_utils.py:2529–2539  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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:

Callers

nothing calls this directly

Calls 2

eq_Function · 0.90
get_callable_argspecFunction · 0.90

Tested by

no test coverage detected