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

Method test_error_alias_invocation

Lib/test/test_argparse.py:3027–3030  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3025 )
3026
3027 def test_error_alias_invocation(self):
3028 parser = self._get_parser(aliases=True)
3029 self.assertArgumentParserError(parser.parse_args,
3030 '0.5 1alias3 b'.split())
3031
3032 def test_alias_help(self):
3033 parser = self._get_parser(aliases=True, subparser_help=True)

Callers

nothing calls this directly

Calls 3

_get_parserMethod · 0.95
splitMethod · 0.45

Tested by

no test coverage detected