(self)
| 47 | |
| 48 | @support.cpython_only |
| 49 | def test_help(self): |
| 50 | self.verify_valid_flag('-h') |
| 51 | self.verify_valid_flag('-?') |
| 52 | out = self.verify_valid_flag('--help') |
| 53 | lines = out.splitlines() |
| 54 | self.assertIn(b'usage', lines[0]) |
| 55 | self.assertNotIn(b'PYTHONHOME', out) |
| 56 | self.assertNotIn(b'-X dev', out) |
| 57 | self.assertLess(len(lines), 50) |
| 58 | |
| 59 | @support.cpython_only |
| 60 | def test_help_env(self): |
nothing calls this directly
no test coverage detected