(self, pytester: Pytester)
| 780 | self.flush(child) |
| 781 | |
| 782 | def test_pdb_collection_failure_is_shown(self, pytester: Pytester) -> None: |
| 783 | p1 = pytester.makepyfile("xxx") |
| 784 | result = pytester.runpytest_subprocess("--pdb", p1) |
| 785 | result.stdout.fnmatch_lines( |
| 786 | ["E NameError: *xxx*", "*! *Exit: Quitting debugger !*"] # due to EOF |
| 787 | ) |
| 788 | |
| 789 | @pytest.mark.parametrize("post_mortem", (False, True)) |
| 790 | def test_enter_leave_pdb_hooks_are_called( |
nothing calls this directly
no test coverage detected