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

Method count

src/_pytest/capture.py:500–501  ·  view source on GitHub ↗
(self, value: AnyStr)

Source from the content-addressed store, hash-verified

498 )
499
500 def count(self, value: AnyStr) -> int:
501 return tuple(self).count(value)
502
503 def index(self, value) -> int:
504 return tuple(self).index(value)

Calls

no outgoing calls