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

Method __init__

src/_pytest/cacheprovider.py:103–108  ·  view source on GitHub ↗
(
        self, cachedir: Path, config: Config, *, _ispytest: bool = False
    )

Source from the content-addressed store, hash-verified

101 _CACHE_PREFIX_VALUES = "v"
102
103 def __init__(
104 self, cachedir: Path, config: Config, *, _ispytest: bool = False
105 ) -> None:
106 check_ispytest(_ispytest)
107 self._cachedir = cachedir
108 self._config = config
109
110 @classmethod
111 def for_config(cls, config: Config, *, _ispytest: bool = False) -> Cache:

Callers

nothing calls this directly

Calls 1

check_ispytestFunction · 0.90

Tested by

no test coverage detected