test: skip Everything server on Python 3.13 (#9361)

This commit is contained in:
Ítalo Johnny 2025-08-12 10:38:26 -03:00 committed by GitHub
commit 5a1ece6dce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,6 +7,7 @@ This test suite validates the MCP utility functions including:
"""
import shutil
import sys
from unittest.mock import AsyncMock, MagicMock, patch
import pytest
@ -363,6 +364,10 @@ class TestMCPStdioClientWithEverythingServer:
@pytest.mark.asyncio
@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):
"""Test connecting to the Everything MCP server."""
command = "npx -y @modelcontextprotocol/server-everything"