MCPcopy Create free account
hub / github.com/pytest-dev/pytest / pytest_addoption

Function pytest_addoption

src/_pytest/pythonpath.py:8–9  ·  view source on GitHub ↗
(parser: Parser)

Source from the content-addressed store, hash-verified

6
7
8def pytest_addoption(parser: Parser) -> None:
9 parser.addini("pythonpath", type="paths", help="Add paths to sys.path", default=[])
10
11
12@pytest.hookimpl(tryfirst=True)

Callers

nothing calls this directly

Calls 1

addiniMethod · 0.80

Tested by

no test coverage detected