MCPcopy
hub / github.com/pex-tool/pex / test_parse_invalid

Function test_parse_invalid

tests/test_pyvenv_cfg.py:17–23  ·  view source on GitHub ↗
(tmpdir)

Source from the content-addressed store, hash-verified

15
16
17def 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
26def test_parse_nominal(tmpdir):

Callers

nothing calls this directly

Calls 3

touchFunction · 0.90
joinMethod · 0.45
parseMethod · 0.45

Tested by

no test coverage detected