(self, pytester: Pytester)
| 1154 | assert item.location == ("ABCDE", 42, "custom") |
| 1155 | |
| 1156 | def test_func_reportinfo(self, pytester: Pytester) -> None: |
| 1157 | item = pytester.getitem("def test_func(): pass") |
| 1158 | path, lineno, modpath = item.reportinfo() |
| 1159 | assert os.fspath(path) == str(item.path) |
| 1160 | assert lineno == 0 |
| 1161 | assert modpath == "test_func" |
| 1162 | |
| 1163 | def test_class_reportinfo(self, pytester: Pytester) -> None: |
| 1164 | modcol = pytester.getmodulecol( |
nothing calls this directly
no test coverage detected