(tmpdir)
| 15 | |
| 16 | |
| 17 | def test_parse_invalid(tmpdir): |
| 18 | # type: (Any) -> None |
| 19 | |
| 20 | pyvenv_cfg = os.path.join(str(tmpdir), "pyvenv.cfg") |
| 21 | touch(pyvenv_cfg) |
| 22 | with pytest.raises(PyVenvCfg.Error): |
| 23 | PyVenvCfg.parse(pyvenv_cfg) |
| 24 | |
| 25 | |
| 26 | def test_parse_nominal(tmpdir): |