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

Method __getitem__

src/_pytest/capture.py:490–491  ·  view source on GitHub ↗
(self, item: int)

Source from the content-addressed store, hash-verified

488 return iter((self.out, self.err))
489
490 def __getitem__(self, item: int) -> AnyStr:
491 return tuple(self)[item]
492
493 def _replace(
494 self, *, out: Optional[AnyStr] = None, err: Optional[AnyStr] = None

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected