MCPcopy Index your code
hub / github.com/pyinvoke/invoke / chdir_support

Function chdir_support

tests/conftest.py:49–54  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

47
48@pytest.fixture
49def chdir_support():
50 # Always do things relative to tests/_support
51 os.chdir(support)
52 yield
53 # Chdir back to project root to avoid problems
54 os.chdir(os.path.join(os.path.dirname(__file__), ".."))
55
56
57@pytest.fixture

Callers

nothing calls this directly

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…