Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/modelcontextprotocol/python-sdk
/ server_stderr
Function
server_stderr
tests/transports/stdio/test_windows.py:99–101 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
97
with
(tmp_path /
"errlog.txt"
).open(
"w+"
, encoding=
"utf-8"
)
as
errlog:
98
99
def
server_stderr() -> str:
100
errlog.seek(0)
101
return
errlog.read()
102
103
streams: list[anyio.abc.SocketStream] = []
104
spawn_started = anyio.current_time()
Callers
1
test_a_gracefully_exited_servers_child_is_reaped_when_the_job_handle_closes
Function · 0.85
Calls
1
read
Method · 0.45
Tested by
no test coverage detected