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

Method __init__

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

Source from the content-addressed store, hash-verified

65 _CACHE_PREFIX_VALUES = "v"
66
67 def __init__(
68 self, cachedir: Path, config: Config, *, _ispytest: bool = False
69 ) -> None:
70 check_ispytest(_ispytest)
71 self._cachedir = cachedir
72 self._config = config
73
74 @classmethod
75 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