def help_all_output_test(subcommand=''):
 cmd = (get_ipython_cmd() + [subcommand, '--help-all'])
 (out, err, rc) = get_output_error_code(cmd)
 nt.assert_equal(rc, 0, err)
 nt.assert_not_in('Traceback', err)
 nt.assert_in('Options', out)
 nt.assert_in('Class', out)
 return (out, err)

def help_all_output_test ( subcommand = '' ) : cmd = ( get_ipython_cmd ( ) + [ subcommand , '--help-all' ] ) ( out , err , rc ) = get_output_error_code ( cmd ) nt . assert_equal ( rc , 0 , err ) nt . assert_not_in ( 'Traceback' , err ) nt . assert_in ( 'Options' , out ) nt . assert_in ( 'Class' , out ) return ( out , err )
test that ipython [subcommand] --help-all works .