(self, pytester: Pytester)
| 946 | return lambda item: runner.runtestprotocol(item, log=False) |
| 947 | |
| 948 | def test_longreprtext_pass(self, pytester: Pytester) -> None: |
| 949 | reports = pytester.runitem( |
| 950 | """ |
| 951 | def test_func(): |
| 952 | pass |
| 953 | """ |
| 954 | ) |
| 955 | rep = reports[1] |
| 956 | assert rep.longreprtext == "" |
| 957 | |
| 958 | def test_longreprtext_skip(self, pytester: Pytester) -> None: |
| 959 | """TestReport.longreprtext can handle non-str ``longrepr`` attributes (#7559)""" |