Skip to content

Commit d2f1146

Browse files
authored
Fix pyright warnings in test_stdio_cm.py
1 parent 474f072 commit d2f1146

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

tests/client/test_stdio_cm.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,10 @@
33
from mcp import StdioServerParameters
44
from mcp.client.stdio import stdio_client
55

6-
MCP_SERVER = {
7-
"command": "tee",
8-
}
9-
106

117
@pytest.mark.anyio
128
async def test_context_manager_exiting():
13-
async with stdio_client(StdioServerParameters(**MCP_SERVER)) as (
9+
async with stdio_client(StdioServerParameters(command="tee")) as (
1410
read_stream,
1511
write_stream,
1612
):

0 commit comments

Comments
 (0)