@@ -26,35 +26,6 @@ Traceback with variables (most recent call last):
2626namespace = Namespace(arg=None)
2727 action = _StoreAction(option_strings=['--arg'], dest='arg', nargs=None, const=None, default=None, type=<class 'int'>, choices=None, help=None, metavar=None)
2828 File "...omitted for tests only.../argparse.py", line...omitted for tests only..., in _parse_known_args
29- self.error(_('the following arguments are required: %s') %
30- i = 1
31- arg_string_pattern_parts = ['O', 'A']
32- arg_strings_iter = list_iterator()
33- arg_string = 'value'
34- option_tuple = None
35- pattern = 'A'
36- consume_optional = <function ArgumentParser._parse_known_args.<locals>.consume_optional at 0x...omitted for tests only...>
37- consume_positionals = <function ArgumentParser._parse_known_args.<locals>.consume_positionals at 0x...omitted for tests only...>
38- max_option_string_index = 0
39- next_option_string_index = 0
40- stop_index = 1
41- required_actions = ['--arg']
42- action = _StoreAction(option_strings=['--arg'], dest='arg', nargs=None, const=None, default=None, type=<class 'int'>, choices=None, help=None, metavar=None)
43- action_conflicts = {}
44- arg_strings = ['--wrong', 'value']
45- arg_strings_pattern = 'OA'
46- extras = ['--wrong', 'value']
47- namespace = Namespace(arg=None)
48- option_string_indices = {0: (None, '--wrong', None)}
49- positionals = []
50- seen_actions = set()
51- seen_non_default_actions = set()
52- self = ArgumentParser(prog='code.py', usage=None, description=None, formatter_class=<class 'argparse.HelpFormatter'>, conflict_handler='error', add_help=True)
53- start_index = 1
54- take_action = <function ArgumentParser._parse_known_args.<locals>.take_action at 0x...omitted for tests only...>
55- File "...omitted for tests only.../argparse.py", line...omitted for tests only..., in error
56- self.exit(2, _('%(prog)s: error: %(message)s/n') % args)
57- self = ArgumentParser(prog='code.py', usage=None, description=None, formatter_class=<class 'argparse.HelpFormatter'>, conflict_handler='error', add_help=True)
5829 message = 'the following arguments are required: --arg'
5930 args = {'prog': 'code.py', 'message': 'the following arguments are required: --arg'}
6031 File "...omitted for tests only.../argparse.py", line...omitted for tests only..., in exit
0 commit comments