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