Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytest-dev/pytest
/ __init__
Method
__init__
src/_pytest/capture.py:170–171 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
168
169
class
CaptureIO(io.TextIOWrapper):
170
def
__init__(self) -> None:
171
super().__init__(io.BytesIO(), encoding=
"UTF-8"
, newline=
""
, write_through=True)
172
173
def
getvalue(self) -> str:
174
assert isinstance(self.buffer, io.BytesIO)
Callers
1
__init__
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected