MCPcopy
hub / github.com/sphinx-doc/sphinx / _setup_module

Function _setup_module

tests/test_writers/test_api_translator.py:20–24  ·  view source on GitHub ↗
(rootdir: Path)

Source from the content-addressed store, hash-verified

18
19@pytest.fixture(scope='module', autouse=True)
20def _setup_module(rootdir: Path) -> Iterator[None]:
21 saved_path = sys.path.copy()
22 sys.path.insert(0, str(rootdir / 'test-api-set-translator'))
23 yield
24 sys.path[:] = saved_path
25
26
27@pytest.mark.sphinx('html', testroot='root')

Callers

nothing calls this directly

Calls 1

copyMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…