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

Function help_all_output_test

IPython/testing/tools.py:462–470  ·  view source on GitHub ↗

test that `ipython [subcommand] --help-all` works

(subcommand='')

Source from the content-addressed store, hash-verified

460
461
462def help_all_output_test(subcommand=''):
463 """test that `ipython [subcommand] --help-all` works"""
464 cmd = get_ipython_cmd() + [subcommand, '--help-all']
465 out, err, rc = get_output_error_code(cmd)
466 nt.assert_equal(rc, 0, err)
467 nt.assert_not_in("Traceback", err)
468 nt.assert_in("Options", out)
469 nt.assert_in("Class", out)
470 return out, err
471

Callers

nothing calls this directly

Calls 2

get_output_error_codeFunction · 0.90
get_ipython_cmdFunction · 0.85

Tested by

no test coverage detected