MCPcopy
hub / github.com/pytest-dev/pytest / CaptureResult

Class CaptureResult

src/_pytest/capture.py:611–615  ·  view source on GitHub ↗

The result of :method:`caplog.readouterr() <pytest.CaptureFixture.readouterr>`.

Source from the content-addressed store, hash-verified

609
610 @final
611 class CaptureResult(NamedTuple, Generic[AnyStr]):
612 """The result of :method:`caplog.readouterr() <pytest.CaptureFixture.readouterr>`."""
613
614 out: AnyStr
615 err: AnyStr
616
617else:
618

Callers 3

test_captureresultFunction · 0.90
readouterrMethod · 0.85
readouterrMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_captureresultFunction · 0.72