(self, pytester, pdblist)
| 177 | assert len(pdblist) == 0 |
| 178 | |
| 179 | def test_pdb_on_KeyboardInterrupt(self, pytester, pdblist) -> None: |
| 180 | rep = runpdb_and_get_report( |
| 181 | pytester, |
| 182 | """ |
| 183 | def test_func(): |
| 184 | raise KeyboardInterrupt |
| 185 | """, |
| 186 | ) |
| 187 | assert rep.failed |
| 188 | assert len(pdblist) == 1 |
| 189 | |
| 190 | @staticmethod |
| 191 | def flush(child): |
nothing calls this directly
no test coverage detected