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

Method __len__

src/_pytest/stash.py:110–112  ·  view source on GitHub ↗

Return how many items exist in the stash.

(self)

Source from the content-addressed store, hash-verified

108 return key in self._storage
109
110 def __len__(self) -> int:
111 """Return how many items exist in the stash."""
112 return len(self._storage)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected