(self)
| 79 | |
| 80 | @support.cpython_only |
| 81 | def test_help_all(self): |
| 82 | out = self.verify_valid_flag('--help-all') |
| 83 | lines = out.splitlines() |
| 84 | self.assertIn(b'usage', lines[0]) |
| 85 | self.assertIn(b'PYTHONHOME', out) |
| 86 | self.assertIn(b'-X dev', out) |
| 87 | |
| 88 | # The first line contains the program name, |
| 89 | # but the rest should be ASCII-only |
| 90 | b''.join(lines[1:]).decode('ascii') |
| 91 | |
| 92 | def test_optimize(self): |
| 93 | self.verify_valid_flag('-O') |
nothing calls this directly
no test coverage detected