(self, required=None)
| 3415 | class TestMutuallyExclusiveLong(MEMixin, TestCase): |
| 3416 | |
| 3417 | def get_parser(self, required=None): |
| 3418 | parser = ErrorRaisingArgumentParser(prog='PROG') |
| 3419 | parser.add_argument('--abcde', help='abcde help') |
| 3420 | parser.add_argument('--fghij', help='fghij help') |
| 3421 | group = parser.add_mutually_exclusive_group(required=required) |
| 3422 | group.add_argument('--klmno', help='klmno help') |
| 3423 | group.add_argument('--pqrst', help='pqrst help') |
| 3424 | return parser |
| 3425 | |
| 3426 | failures = ['--klmno X --pqrst Y'] |
| 3427 | successes = [ |
nothing calls this directly
no test coverage detected