(self, request)
| 103 | class TestPDB: |
| 104 | @pytest.fixture |
| 105 | def pdblist(self, request): |
| 106 | monkeypatch = request.getfixturevalue("monkeypatch") |
| 107 | pdblist = [] |
| 108 | |
| 109 | def mypdb(*args): |
| 110 | pdblist.append(args) |
| 111 | |
| 112 | plugin = request.config.pluginmanager.getplugin("debugging") |
| 113 | monkeypatch.setattr(plugin, "post_mortem", mypdb) |
| 114 | return pdblist |
| 115 | |
| 116 | def test_pdb_on_fail(self, pytester: Pytester, pdblist) -> None: |
| 117 | rep = runpdb_and_get_report( |
nothing calls this directly
no test coverage detected