(self)
| 2582 | self.command_help_parser = self._get_parser(subparser_help=True) |
| 2583 | |
| 2584 | def test_parse_args_failures(self): |
| 2585 | # check some failure cases: |
| 2586 | for args_str in ['', 'a', 'a a', '0.5 a', '0.5 1', |
| 2587 | '0.5 1 -y', '0.5 2 -w']: |
| 2588 | args = args_str.split() |
| 2589 | self.assertArgumentParserError(self.parser.parse_args, args) |
| 2590 | |
| 2591 | def test_parse_args_failures_details(self): |
| 2592 | for args_str, usage_str, error_str in [ |
nothing calls this directly
no test coverage detected