Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ipython/ipython
/ test_definition_kwonlyargs
Function
test_definition_kwonlyargs
IPython/core/tests/test_oinspect.py:233–235 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
231
pass
232
233
def
test_definition_kwonlyargs():
234
i = inspector.info(f_kwarg, oname=
'f_kwarg'
)
# analysis:ignore
235
nt.assert_equal(i[
'definition'
],
"f_kwarg(pos, *, kwonly)"
)
236
237
def
test_getdoc():
238
class
A(object):
Callers
nothing calls this directly
Calls
1
info
Method · 0.80
Tested by
no test coverage detected