Spaces:
Running
Running
Jeremiah Lowin commited on
Commit ·
9073158
1
Parent(s): 728a96e
Skip on window
Browse files- tests/client/test_sse.py +4 -0
tests/client/test_sse.py
CHANGED
|
@@ -137,6 +137,10 @@ async def test_nested_sse_server_resolves_correctly():
|
|
| 137 |
|
| 138 |
|
| 139 |
class TestTimeout:
|
|
|
|
|
|
|
|
|
|
|
|
|
| 140 |
async def test_timeout(self, sse_server: str):
|
| 141 |
with pytest.raises(
|
| 142 |
McpError,
|
|
|
|
| 137 |
|
| 138 |
|
| 139 |
class TestTimeout:
|
| 140 |
+
@pytest.mark.skipif(
|
| 141 |
+
sys.platform == "win32",
|
| 142 |
+
reason="This test is flaky on Windows. Sometimes the client timeout is respected and sometimes it is not.",
|
| 143 |
+
)
|
| 144 |
async def test_timeout(self, sse_server: str):
|
| 145 |
with pytest.raises(
|
| 146 |
McpError,
|