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

Method test_single_grandparent_mutex

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

Source from the content-addressed store, hash-verified

3171 self._test_mutex_ab(parser.parse_args)
3172
3173 def test_single_grandparent_mutex(self):
3174 parents = [self.ab_mutex_parent]
3175 parser = ErrorRaisingArgumentParser(add_help=False, parents=parents)
3176 parser = ErrorRaisingArgumentParser(parents=[parser])
3177 self._test_mutex_ab(parser.parse_args)
3178
3179 def _test_mutex_ab(self, parse_args):
3180 self.assertEqual(parse_args([]), NS(a=False, b=False))

Callers

nothing calls this directly

Calls 2

_test_mutex_abMethod · 0.95

Tested by

no test coverage detected