(self, pytester, pdblist)
| 145 | assert len(pdblist) == 0 |
| 146 | |
| 147 | def test_pdb_on_KeyboardInterrupt(self, pytester, pdblist) -> None: |
| 148 | rep = runpdb_and_get_report( |
| 149 | pytester, |
| 150 | """ |
| 151 | def test_func(): |
| 152 | raise KeyboardInterrupt |
| 153 | """, |
| 154 | ) |
| 155 | assert rep.failed |
| 156 | assert len(pdblist) == 1 |
| 157 | |
| 158 | @staticmethod |
| 159 | def flush(child): |
nothing calls this directly
no test coverage detected