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

Method cache_key

src/_pytest/fixtures.py:1071–1072  ·  view source on GitHub ↗
(self, request: SubRequest)

Source from the content-addressed store, hash-verified

1069 return result
1070
1071 def cache_key(self, request: SubRequest) -> object:
1072 return request.param_index if not hasattr(request, "param") else request.param
1073
1074 def __repr__(self) -> str:
1075 return "<FixtureDef argname={!r} scope={!r} baseid={!r}>".format(

Callers 3

executeMethod · 0.95
pytest_fixture_setupFunction · 0.80
pytest_fixture_setupFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected