(self, pytester: Pytester)
| 129 | assert not rep.longrepr |
| 130 | |
| 131 | def test_failfunction(self, pytester: Pytester) -> None: |
| 132 | reports = pytester.runitem( |
| 133 | """ |
| 134 | def test_func(): |
| 135 | assert 0 |
| 136 | """ |
| 137 | ) |
| 138 | rep = reports[1] |
| 139 | assert not rep.passed |
| 140 | assert not rep.skipped |
| 141 | assert rep.failed |
| 142 | assert rep.when == "call" |
| 143 | assert rep.outcome == "failed" |
| 144 | # assert isinstance(rep.longrepr, ReprExceptionInfo) |
| 145 | |
| 146 | def test_skipfunction(self, pytester: Pytester) -> None: |
| 147 | reports = pytester.runitem( |