(self)
| 85 | self.assertIn(msg, err.getvalue()) |
| 86 | |
| 87 | def test_help(self): |
| 88 | for opt in '-h', '--help': |
| 89 | with self.subTest(opt=opt): |
| 90 | with support.captured_stdout() as out, \ |
| 91 | self.assertRaises(SystemExit): |
| 92 | self.parse_args([opt]) |
| 93 | self.assertIn('Run Python regression tests.', out.getvalue()) |
| 94 | |
| 95 | def test_timeout(self): |
| 96 | ns = self.parse_args(['--timeout', '4.2']) |
nothing calls this directly
no test coverage detected