(self, pytester: Pytester)
| 160 | assert config.getini("minversion") == "2.0" |
| 161 | |
| 162 | def test_ini_parse_error(self, pytester: Pytester) -> None: |
| 163 | pytester.path.joinpath("pytest.ini").write_text("addopts = -x") |
| 164 | result = pytester.runpytest() |
| 165 | assert result.ret != 0 |
| 166 | result.stderr.fnmatch_lines(["ERROR: *pytest.ini:1: no section header defined"]) |
| 167 | |
| 168 | @pytest.mark.xfail(reason="probably not needed") |
| 169 | def test_confcutdir(self, pytester: Pytester) -> None: |
nothing calls this directly
no test coverage detected