(self)
| 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)) |
nothing calls this directly
no test coverage detected