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

Method test_callable_argspec_fn

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

Source from the content-addressed store, hash-verified

2454 test(f4)
2455
2456 def test_callable_argspec_fn(self):
2457 def foo(x, y, **kw):
2458 pass
2459
2460 eq_(
2461 get_callable_argspec(foo),
2462 compat.FullArgSpec(["x", "y"], None, "kw", None, [], None, {}),
2463 )
2464
2465 def test_callable_argspec_fn_no_self(self):
2466 def foo(x, y, **kw):

Callers

nothing calls this directly

Calls 2

eq_Function · 0.90
get_callable_argspecFunction · 0.90

Tested by

no test coverage detected