(self, pytester: Pytester, pdblist)
| 130 | assert tb[-1].name == "test_func" |
| 131 | |
| 132 | def test_pdb_on_xfail(self, pytester: Pytester, pdblist) -> None: |
| 133 | rep = runpdb_and_get_report( |
| 134 | pytester, |
| 135 | """ |
| 136 | import pytest |
| 137 | @pytest.mark.xfail |
| 138 | def test_func(): |
| 139 | assert 0 |
| 140 | """, |
| 141 | ) |
| 142 | assert "xfail" in rep.keywords |
| 143 | assert not pdblist |
| 144 | |
| 145 | def test_pdb_on_skip(self, pytester, pdblist) -> None: |
| 146 | rep = runpdb_and_get_report( |
nothing calls this directly
no test coverage detected