MCPcopy
hub / github.com/pytest-dev/pytest / test_initialize_reldir

Method test_initialize_reldir

testing/_py/test_local.py:657–660  ·  view source on GitHub ↗
(self, path1)

Source from the content-addressed store, hash-verified

655 assert old == local()
656
657 def test_initialize_reldir(self, path1):
658 with path1.as_cwd():
659 p = local("samplefile")
660 assert p.check()
661
662 def test_tilde_expansion(self, monkeypatch, tmpdir):
663 monkeypatch.setenv("HOME", str(tmpdir))

Callers

nothing calls this directly

Calls 2

as_cwdMethod · 0.80
checkMethod · 0.45

Tested by

no test coverage detected