(self, context_type, func, *args, **kwargs)
| 2928 | ''')) |
| 2929 | |
| 2930 | def assert_bad_help(self, context_type, func, *args, **kwargs): |
| 2931 | with self.assertRaisesRegex(ValueError, 'badly formed help string') as cm: |
| 2932 | func(*args, **kwargs) |
| 2933 | self.assertIsInstance(cm.exception.__context__, context_type) |
| 2934 | |
| 2935 | def test_invalid_subparsers_help(self): |
| 2936 | parser = ErrorRaisingArgumentParser(prog='PROG') |
no test coverage detected