Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pytest-dev/pytest
/ read_global_capture
Method
read_global_capture
src/_pytest/capture.py:801–803 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
799
self.resume_fixture()
800
801
def
read_global_capture(self) -> CaptureResult[str]:
802
assert self._global_capturing is not None
803
return
self._global_capturing.readouterr()
804
805
# Fixture Control
806
Callers
6
pytest_load_initial_conftests
Function · 0.95
item_capture
Method · 0.95
pytest_make_collect_report
Method · 0.95
test_capturing_basic_api
Method · 0.95
_disable_output_capturing_for_darwin
Method · 0.80
pytest_exception_interact
Method · 0.80
Calls
1
readouterr
Method · 0.45
Tested by
2
test_capturing_basic_api
Method · 0.76
_disable_output_capturing_for_darwin
Method · 0.64