test: skip Everything server on Python 3.13 (#9361)
This commit is contained in:
parent
163dabdaf3
commit
5a1ece6dce
1 changed files with 5 additions and 0 deletions
|
|
@ -7,6 +7,7 @@ This test suite validates the MCP utility functions including:
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import shutil
|
import shutil
|
||||||
|
import sys
|
||||||
from unittest.mock import AsyncMock, MagicMock, patch
|
from unittest.mock import AsyncMock, MagicMock, patch
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
|
|
@ -363,6 +364,10 @@ class TestMCPStdioClientWithEverythingServer:
|
||||||
|
|
||||||
@pytest.mark.asyncio
|
@pytest.mark.asyncio
|
||||||
@pytest.mark.skipif(not shutil.which("npx"), reason="Node.js not available")
|
@pytest.mark.skipif(not shutil.which("npx"), reason="Node.js not available")
|
||||||
|
@pytest.mark.skipif(
|
||||||
|
sys.version_info >= (3, 13),
|
||||||
|
reason="Temporarily disabled on Python 3.13 due to frequent timeouts with MCP Everything server",
|
||||||
|
)
|
||||||
async def test_connect_to_everything_server(self, stdio_client):
|
async def test_connect_to_everything_server(self, stdio_client):
|
||||||
"""Test connecting to the Everything MCP server."""
|
"""Test connecting to the Everything MCP server."""
|
||||||
command = "npx -y @modelcontextprotocol/server-everything"
|
command = "npx -y @modelcontextprotocol/server-everything"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue