Skip to content

πŸš€ The fast, Pythonic way to build MCP servers and clients.

Skip on window

Jeremiah Lowin8559673e5859
diff --git a/tests/client/test_sse.py b/tests/client/test_sse.py
index f70395550..7ecfc7ee6 100644
--- a/tests/client/test_sse.py
+++ b/tests/client/test_sse.py
@@ -137,6 +137,10 @@ async def test_nested_sse_server_resolves_correctly():
class TestTimeout:
+ @pytest.mark.skipif(
+ sys.platform == "win32",
+ reason="This test is flaky on Windows. Sometimes the client timeout is respected and sometimes it is not.",
+ )
async def test_timeout(self, sse_server: str):
with pytest.raises(
McpError,