MCPcopy Index your code
hub / github.com/python/cpython / _get_parser

Method _get_parser

Lib/test/test_argparse.py:307–312  ·  view source on GitHub ↗
(self, tester)

Source from the content-addressed store, hash-verified

305 setattr(tester_cls, test_name, wrapper)
306
307 def _get_parser(self, tester):
308 args = tester.parser_signature.args
309 kwargs = tester.parser_signature.kwargs
310 parser = tester.parser_class(*args, **kwargs)
311 self._add_arguments(parser, tester.argument_signatures)
312 return parser
313
314 def test_failures(self, tester):
315 parser = self._get_parser(tester)

Callers 5

test_failuresMethod · 0.95
test_successesMethod · 0.95
test_formatMethod · 0.95
test_printMethod · 0.95
test_print_fileMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected