MCPcopy Index your code
hub / github.com/ipython/ipython / test_calldef_none

Function test_calldef_none

tests/test_oinspect.py:255–259  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

253
254
255def test_calldef_none():
256 # We should ignore __call__ for all of these.
257 for obj in [support_function_one, SimpleClass().method, any, str.upper]:
258 i = inspector.info(obj)
259 assert i["call_def"] is None
260
261
262def f_kwarg(pos, *, kwonly):

Callers

nothing calls this directly

Calls 2

SimpleClassClass · 0.85
infoMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…