(self, pytester: Pytester)
| 1093 | return lambda item: runner.runtestprotocol(item, log=False) |
| 1094 | |
| 1095 | def test_longreprtext_pass(self, pytester: Pytester) -> None: |
| 1096 | reports = pytester.runitem( |
| 1097 | """ |
| 1098 | def test_func(): |
| 1099 | pass |
| 1100 | """ |
| 1101 | ) |
| 1102 | rep = reports[1] |
| 1103 | assert rep.longreprtext == "" |
| 1104 | |
| 1105 | def test_longreprtext_skip(self, pytester: Pytester) -> None: |
| 1106 | """TestReport.longreprtext can handle non-str ``longrepr`` attributes (#7559)""" |