(self)
| 695 | self.assertNotIn('Built-in subclasses', text) |
| 696 | |
| 697 | def test_fail_help_cli(self): |
| 698 | elines = (missing_pattern % 'abd').splitlines() |
| 699 | with spawn_python("-c" "help()") as proc: |
| 700 | out, _ = proc.communicate(b"abd") |
| 701 | olines = out.decode().splitlines()[-9:-6] |
| 702 | olines[0] = olines[0].removeprefix('help> ') |
| 703 | self.assertEqual(elines, olines) |
| 704 | |
| 705 | def test_fail_help_output_redirect(self): |
| 706 | with StringIO() as buf: |
nothing calls this directly
no test coverage detected