Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytest-dev/pytest
/ read_global_capture
Method
read_global_capture
src/_pytest/capture.py:689–691 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
687
self.resume_fixture()
688
689
def
read_global_capture(self) -> CaptureResult[str]:
690
assert self._global_capturing is not None
691
return
self._global_capturing.readouterr()
692
693
# Fixture Control
694
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