MCPcopy Index your code
hub / github.com/RustPython/RustPython / setUp

Method setUp

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

Source from the content-addressed store, hash-verified

2476 return parser
2477
2478 def setUp(self):
2479 super().setUp()
2480 self.parser = self._get_parser()
2481 self.command_help_parser = self._get_parser(subparser_help=True)
2482
2483 def test_parse_args_failures(self):
2484 # check some failure cases:

Callers

nothing calls this directly

Calls 3

_get_parserMethod · 0.95
superClass · 0.85
setUpMethod · 0.45

Tested by

no test coverage detected