(self, pytester: Pytester, pdblist)
| 108 | assert tb[-1].name == "test_func" |
| 109 | |
| 110 | def test_pdb_on_xfail(self, pytester: Pytester, pdblist) -> None: |
| 111 | rep = runpdb_and_get_report( |
| 112 | pytester, |
| 113 | """ |
| 114 | import pytest |
| 115 | @pytest.mark.xfail |
| 116 | def test_func(): |
| 117 | assert 0 |
| 118 | """, |
| 119 | ) |
| 120 | assert "xfail" in rep.keywords |
| 121 | assert not pdblist |
| 122 | |
| 123 | def test_pdb_on_skip(self, pytester, pdblist) -> None: |
| 124 | rep = runpdb_and_get_report( |
nothing calls this directly
no test coverage detected