(self, pytester, pdblist)
| 165 | assert "entering PDB" not in stdout, stdout |
| 166 | |
| 167 | def test_pdb_on_BdbQuit(self, pytester, pdblist) -> None: |
| 168 | rep = runpdb_and_get_report( |
| 169 | pytester, |
| 170 | """ |
| 171 | import bdb |
| 172 | def test_func(): |
| 173 | raise bdb.BdbQuit |
| 174 | """, |
| 175 | ) |
| 176 | assert rep.failed |
| 177 | assert len(pdblist) == 0 |
| 178 | |
| 179 | def test_pdb_on_KeyboardInterrupt(self, pytester, pdblist) -> None: |
| 180 | rep = runpdb_and_get_report( |
nothing calls this directly
no test coverage detected