MCPcopy Create free account
hub / github.com/ipython/ipython / test_render_signature_short

Function test_render_signature_short

IPython/core/tests/test_oinspect.py:401–407  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

399
400
401def test_render_signature_short():
402 def short_fun(a=1): pass
403 sig = oinspect._render_signature(
404 signature(short_fun),
405 short_fun.__name__,
406 )
407 nt.assert_equal(sig, 'short_fun(a=1)')
408
409
410def test_render_signature_long():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected