Skip to content

Commit 9e37091

Browse files
committed
fix: skip stdio test if tee cannot be found
1 parent 5618597 commit 9e37091

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/client/test_stdio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
from mcp.types import JSONRPCMessage, JSONRPCRequest, JSONRPCResponse
77

88
tee: str = shutil.which("tee") # type: ignore
9-
assert tee is not None, "could not find tee command"
109

1110

1211
@pytest.mark.anyio
12+
@pytest.mark.skipif(tee is None, reason="could not find tee command")
1313
async def test_stdio_client():
1414
server_parameters = StdioServerParameters(command=tee)
1515

0 commit comments

Comments
 (0)