Module ImportFrom alias Import alias Import alias Import alias alias ImportFrom alias identifier FunctionDef arguments args defaults body Return Call AttributeLoad NameLoad attr decorator_list AttributeLoad NameLoad attr ClassDef bases body FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Lambda arguments args defaults Call AttributeLoad NameLoad attr ListLoad Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assert CompareNotEq Call AttributeLoad NameLoad attr Str Num decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr ListLoad Str Assert CompareEq AttributeLoad NameLoad attr ListLoad Assert CompareEq AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assert CompareEq AttributeLoad NameLoad attr ListLoad Str Assert CompareEq AttributeLoad NameLoad attr ListLoad Str Assert CompareEq AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Str keyword Str Assert CompareEq AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str keyword Str keyword Str Assert CompareIs AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str keyword Str keyword Str Assert CompareIs AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str keyword Str keyword NameLoad Assert CompareIs AttributeLoad NameLoad attr NameLoad With Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword ListLoad Str Str Assert CompareIs AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Assert CompareEq SubscriptLoad NameLoad Index Str Num Assert CompareEq SubscriptLoad NameLoad Index Str Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str keyword Str Assert CompareEq AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str keyword Str Assert CompareEq AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assert CompareIs NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str keyword Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad Assert CompareEq NameLoad Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str keyword Str Assert CompareEq Call NameLoad AttributeLoad NameLoad attr Num Assert Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Str Assert CompareEq Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Str keyword Str Assert CompareEq Call NameLoad AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assert CompareEq Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Str keyword Str Assert CompareEq Call NameLoad AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Str Assert CompareEq AttributeLoad NameLoad attr Str Assert UnaryOpNot Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr Assert CompareEq SubscriptLoad Call NameLoad NameLoad AttributeLoad NameLoad attr Index Num Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Str Str Str Assert AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr ListLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str keyword Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr ListLoad Str Str Str Str Assert AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr ListLoad Str Assert CompareEq NameLoad ListLoad Str Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad Assert CompareEq AttributeLoad NameLoad attr Str Delete AttributeDel NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad NameLoad Assert CompareEq AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Num ClassDef bases body Pass decorator_list Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Str NameLoad Assert CompareEq AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Num Assert UnaryOpNot NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Str Assert CompareEq AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Str Str Str Assert CompareEq Call NameLoad NameLoad AttributeLoad NameLoad attr ListLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Str Str Str Str Assert CompareEq Call NameLoad NameLoad AttributeLoad NameLoad attr ListLoad Str Str Assert CompareEq AttributeLoad NameLoad attr NameLoad Assert CompareEq AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Str Str Str Assert CompareEq Call NameLoad NameLoad AttributeLoad NameLoad attr ListLoad Str Str Assert CompareEq AttributeLoad NameLoad attr NameLoad Assert CompareEq AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body If UnaryOpNot Call NameLoad NameLoad Str body Return If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Num orelse If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Str decorator_list Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad Assert CompareEq AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareIs AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr Assign AttributeStore Call AttributeLoad NameLoad attr Str Str Str Str Str keyword Str attr Dict Str Str Assign AttributeStore Call AttributeLoad NameLoad attr Str Str Str keyword Str keyword Str attr Dict Str Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str Str Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str Str keyword Str keyword Str Assign AttributeStore Call AttributeLoad NameLoad attr Str Str Str keyword Str keyword Str attr Dict Str Str Expr Call AttributeLoad NameLoad attr Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Str Str Str Assert CompareEq AttributeLoad NameLoad attr Str Assert CompareIs AttributeLoad NameLoad attr NameLoad Assert CompareIs AttributeLoad NameLoad attr NameLoad Assert CompareIs AttributeLoad NameLoad attr NameLoad Assert CompareIs AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str With Call AttributeLoad NameLoad attr NameLoad body Assert CompareIs AttributeLoad NameLoad attr NameLoad Assert CompareIs AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Str Assert CompareEq Call AttributeLoad Str attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Str Assert CompareIs AttributeLoad NameLoad attr NameLoad Assert CompareIs AttributeLoad NameLoad attr NameLoad Assert CompareIs AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Assert CompareIs AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Str Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Assert CompareIs AttributeLoad NameLoad attr NameLoad Assert CompareEq AttributeLoad NameLoad attr ListLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr ListLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assert CompareIn Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr ListLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assert CompareIn Str NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num If CompareNotIn Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad With Call NameLoad Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str Str Assign NameStore Str Expr Call AttributeLoad NameLoad attr Str BinOpAdd Str NameLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad Call NameLoad BinOpAdd Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad NameLoad If CompareEq AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr Str orelse If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr Str orelse If CompareLt AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr TupleLoad Num Num body Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str If CompareLt AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr TupleLoad Num Num body Return Expr Call AttributeLoad NameLoad attr Str Assign NameStore Str Expr Call AttributeLoad NameLoad attr Str BinOpAdd Str NameLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad Call NameLoad BinOpAdd Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str decorator_list
N/A __future__ with_statement N/A sys N/A os N/A py pytest _pytest config parseopt parser N/A N/A N/A N/A N/A N/A N/A parseopt Parser N/A N/A pytest fixture TestParser N/A N/A test_no_help_by_default N/A N/A self capsys N/A N/A N/A parser N/A N/A parseopt Parser usage xyz N/A N/A N/A pytest raises SystemExit N/A N/A N/A N/A N/A N/A parser parse N/A -h N/A N/A out err N/A N/A capsys readouterr N/A N/A N/A N/A err find error: unrecognized arguments -1 N/A test_argument N/A N/A self N/A N/A N/A N/A N/A pytest raises N/A parseopt ArgumentError N/A N/A argument N/A N/A parseopt Argument N/A argument N/A N/A parseopt Argument -t N/A N/A N/A argument _short_opts N/A -t N/A N/A N/A argument _long_opts N/A N/A N/A N/A argument dest t N/A argument N/A N/A parseopt Argument -t --test N/A N/A N/A argument _short_opts N/A -t N/A N/A N/A argument _long_opts N/A --test N/A N/A N/A argument dest test N/A argument N/A N/A parseopt Argument -t --test dest abc N/A N/A N/A argument dest abc N/A test_argument_type N/A N/A self N/A N/A N/A argument N/A N/A parseopt Argument -t dest abc type int N/A N/A N/A argument type int N/A argument N/A N/A parseopt Argument -t dest abc type string N/A N/A N/A argument type str N/A argument N/A N/A parseopt Argument -t dest abc type float N/A N/A N/A argument type float N/A N/A N/A pytest raises KeyError N/A N/A argument N/A N/A parseopt Argument -t dest abc type choice N/A argument N/A N/A parseopt Argument -t dest abc type choice choices N/A red blue N/A N/A N/A argument type str N/A test_argument_processopt N/A N/A self N/A N/A N/A argument N/A N/A parseopt Argument -t type int N/A N/A argument default 42 N/A N/A argument dest abc N/A res N/A N/A argument attrs N/A N/A N/A res N/A default 42 N/A N/A N/A res N/A dest abc N/A test_group_add_and_get N/A N/A self parser N/A N/A N/A group N/A N/A parser getgroup hello description desc N/A N/A N/A group name hello N/A N/A N/A group description desc N/A test_getgroup_simple N/A N/A self parser N/A N/A N/A group N/A N/A parser getgroup hello description desc N/A N/A N/A group name hello N/A N/A N/A group description desc N/A group2 N/A N/A parser getgroup hello N/A N/A group2 group N/A test_group_ordering N/A N/A self parser N/A N/A N/A N/A N/A parser getgroup 1 N/A N/A N/A parser getgroup 2 N/A N/A N/A parser getgroup 3 after 1 N/A groups N/A parser _groups N/A groups_names N/A N/A x name N/A x groups N/A N/A groups_names N/A list 132 N/A test_group_addoption N/A N/A self N/A N/A N/A group N/A N/A parseopt OptionGroup hello N/A N/A N/A group addoption --option1 action store_true N/A N/A N/A len N/A group options 1 N/A N/A isinstance N/A N/A group options N/A 0 N/A parseopt Argument N/A test_group_shortopt_lowercase N/A N/A self parser N/A N/A N/A group N/A N/A parser getgroup hello N/A N/A N/A pytest raises ValueError 
            group.addoption("-x", action="store_true")
         N/A N/A N/A len N/A group options 0 N/A N/A N/A group _addoption -x action store_true N/A N/A N/A len N/A group options 1 N/A test_parser_addoption N/A N/A self parser N/A N/A N/A group N/A N/A parser getgroup custom options N/A N/A N/A len N/A group options 0 N/A N/A N/A group addoption --option1 action store_true N/A N/A N/A len N/A group options 1 N/A test_parse N/A N/A self parser N/A N/A N/A N/A N/A parser addoption --hello dest hello action store N/A args N/A N/A parser parse N/A --hello world N/A N/A N/A args hello world N/A N/A N/A getattr args N/A parseopt FILE_OR_DIR N/A test_parse2 N/A N/A self parser N/A N/A N/A args N/A N/A parser parse N/A N/A N/A N/A py path local N/A N/A N/A N/A getattr args N/A parseopt FILE_OR_DIR N/A 0 N/A N/A N/A py path local N/A test_parse_known_args N/A N/A self parser N/A N/A N/A N/A N/A parser parse_known_args N/A N/A N/A N/A py path local N/A N/A N/A parser addoption --hello action store_true N/A ns N/A N/A parser parse_known_args N/A x --y --hello this N/A N/A ns hello N/A N/A N/A ns file_or_dir N/A x N/A test_parse_known_and_unknown_args N/A N/A self parser N/A N/A N/A N/A N/A parser addoption --hello action store_true N/A N/A ns unknown N/A N/A parser parse_known_and_unknown_args N/A x --y --hello this N/A N/A ns hello N/A N/A N/A ns file_or_dir N/A x N/A N/A unknown N/A --y this N/A test_parse_will_set_default N/A N/A self parser N/A N/A N/A N/A N/A parser addoption --hello dest hello default x action store N/A option N/A N/A parser parse N/A N/A N/A N/A option hello x N/A N/A option hello N/A N/A N/A parser parse_setoption N/A option N/A N/A N/A option hello x N/A test_parse_setoption N/A N/A self parser N/A N/A N/A N/A N/A parser addoption --hello dest hello action store N/A N/A N/A parser addoption --world dest world default 42 A N/A N/A N/A N/A N/A option N/A A N/A args N/A N/A parser parse_setoption N/A --hello world option N/A N/A N/A option hello world N/A N/A N/A option world 42 N/A N/A args N/A test_parse_special_destination N/A N/A self parser N/A N/A N/A N/A N/A parser addoption --ultimate-answer type int N/A args N/A N/A parser parse N/A --ultimate-answer 42 N/A N/A N/A args ultimate_answer 42 N/A test_parse_split_positional_arguments N/A N/A self parser N/A N/A N/A N/A N/A parser addoption -R action store_true N/A N/A N/A parser addoption -S action store_false N/A args N/A N/A parser parse N/A -R 4 2 -S N/A N/A N/A getattr args N/A parseopt FILE_OR_DIR N/A 4 2 N/A args N/A N/A parser parse N/A -R -S 4 2 -R N/A N/A N/A getattr args N/A parseopt FILE_OR_DIR N/A 4 2 N/A N/A N/A args R True N/A N/A N/A args S False N/A args N/A N/A parser parse N/A -R 4 -S 2 N/A N/A N/A getattr args N/A parseopt FILE_OR_DIR N/A 4 2 N/A N/A N/A args R True N/A N/A N/A args S False N/A test_parse_defaultgetter N/A N/A self N/A N/A defaultget N/A N/A option N/A N/A N/A N/A N/A hasattr option type N/A N/A N/A N/A N/A option type int N/A N/A N/A option default 42 N/A N/A N/A N/A option type str N/A N/A N/A option default world N/A N/A parser N/A N/A parseopt Parser processopt defaultget N/A N/A N/A parser addoption --this dest this type int action store N/A N/A N/A parser addoption --hello dest hello type string action store N/A N/A N/A parser addoption --no dest no action store_true N/A option N/A N/A parser parse N/A N/A N/A N/A option hello world N/A N/A N/A option this 42 N/A N/A N/A option no False N/A test_drop_short_helper N/A N/A self N/A N/A N/A parser N/A N/A N/A N/A py std argparse ArgumentParser formatter_class N/A parseopt DropShorterLongHelpFormatter N/A N/A N/A N/A parser add_argument -t --twoword --duo --two-word --two help foo map_long_option N/A two two-word N/A N/A N/A N/A parser add_argument -d --deuxmots --deux-mots action store_true help foo map_long_option N/A deux deux-mots N/A N/A N/A parser add_argument -s action store_true help single short N/A N/A N/A parser add_argument --abc -a action store_true help bar N/A N/A N/A parser add_argument --klm -k --kl-m action store_true help bar N/A N/A N/A parser add_argument -P --pq-r -p --pqr action store_true help bar N/A N/A N/A parser add_argument --zwei-wort --zweiwort --zweiwort action store_true help bar N/A N/A N/A N/A parser add_argument -x --exit-on-first --exitfirst action store_true help spam map_long_option N/A exitfirst exit-on-first N/A N/A N/A parser add_argument files_and_dirs nargs * N/A args N/A N/A parser parse_args N/A -k --duo hallo --exitfirst N/A N/A N/A args twoword hallo N/A N/A N/A args klm True N/A N/A N/A args zwei_wort False N/A N/A N/A args exit_on_first True N/A N/A N/A args s False N/A args N/A N/A parser parse_args N/A --deux-mots N/A N/A N/A pytest raises AttributeError N/A N/A N/A N/A args deux_mots True N/A N/A N/A args deuxmots True N/A args N/A N/A parser parse_args N/A file dir N/A N/A N/A N/A | join N/A args files_and_dirs file|dir N/A test_drop_short_0 N/A N/A self parser N/A N/A N/A N/A N/A parser addoption --funcarg --func-arg action store_true N/A N/A N/A parser addoption --abc-def --abc-def action store_true N/A N/A N/A parser addoption --klm-hij action store_true N/A args N/A N/A parser parse N/A --funcarg --k N/A N/A N/A args funcarg True N/A N/A N/A args abc_def False N/A N/A N/A args klm_hij True N/A test_drop_short_2 N/A N/A self parser N/A N/A N/A N/A N/A parser addoption --func-arg --doit action store_true N/A args N/A N/A parser parse N/A --doit N/A N/A N/A args func_arg True N/A test_drop_short_3 N/A N/A self parser N/A N/A N/A N/A N/A parser addoption --func-arg --funcarg --doit action store_true N/A args N/A N/A parser parse N/A abcd N/A N/A N/A args func_arg False N/A N/A N/A args file_or_dir N/A abcd N/A test_drop_short_help0 N/A N/A self parser capsys N/A N/A N/A N/A N/A parser addoption --func-args --doit help foo action store_true N/A N/A N/A parser parse N/A N/A help N/A N/A N/A parser optparser format_help N/A N/A --func-args, --doit  foo help N/A test_drop_short_help1 N/A N/A self parser capsys N/A N/A N/A group N/A N/A parser getgroup general N/A N/A N/A group addoption --doit --func-args action store_true help foo N/A N/A N/A group _addoption -h --help action store_true dest help help show help message and configuration info N/A N/A N/A parser parse N/A -h N/A help N/A N/A N/A parser optparser format_help N/A N/A -doit, --func-args  foo help N/A N/A test_argcomplete N/A N/A testdir monkeypatch N/A N/A N/A N/A N/A N/A N/A N/A py path local sysfind bash N/A N/A N/A N/A pytest skip bash not available N/A script N/A str N/A N/A N/A testdir tmpdir join test_argcomplete N/A pytest_bin N/A N/A sys argv N/A 0 N/A N/A py.test N/A N/A N/A os path basename pytest_bin N/A N/A N/A N/A pytest skip N/A need to be run with py.test executable, not %s N/A pytest_bin N/A N/A open N/A str script w fp N/A N/A N/A N/A fp write N/A COMP_WORDBREAKS="$COMP_WORDBREAKS" %s 8>&1 9>&2 pytest_bin N/A N/A N/A monkeypatch setenv _ARGCOMPLETE 1 N/A N/A N/A monkeypatch setenv _ARGCOMPLETE_IFS N/A N/A N/A monkeypatch setenv COMP_WORDBREAKS  \t\n"\'><=;|&(: N/A arg --fu N/A N/A N/A monkeypatch setenv COMP_LINE N/A py.test  arg N/A N/A N/A monkeypatch setenv COMP_POINT N/A str N/A len N/A py.test  arg N/A result N/A N/A testdir run bash N/A str script arg N/A N/A N/A result ret 255 N/A N/A N/A N/A pytest skip argcomplete not available N/A N/A N/A N/A N/A N/A result stdout str N/A N/A N/A N/A pytest skip bash provided no output, argcomplete not available? N/A N/A N/A N/A N/A N/A py std sys version_info N/A 2 7 N/A N/A N/A N/A result stdout lines N/A N/A N/A N/A N/A result stdout lines N/A 0 split N/A N/A N/A N/A result stdout fnmatch_lines N/A --funcargs --fulltrace N/A N/A N/A N/A N/A result stdout fnmatch_lines N/A --funcargs --fulltrace N/A N/A N/A N/A N/A py std sys version_info N/A 2 7 N/A N/A N/A N/A N/A os mkdir test_argcomplete.d N/A arg test_argc N/A N/A N/A monkeypatch setenv COMP_LINE N/A py.test  arg N/A N/A N/A monkeypatch setenv COMP_POINT N/A str N/A len N/A py.test  arg N/A result N/A N/A testdir run bash N/A str script arg N/A N/A N/A N/A result stdout fnmatch_lines N/A test_argcomplete test_argcomplete.d/ N/A