π The fast, Pythonic way to build MCP servers and clients.
Ensure path works across platforms
Jeremiah Lowine439f616c1e4
diff --git a/tests/server/test_server_interactions.py b/tests/server/test_server_interactions.pyindex f0ae19209..7c6a5979c 100644--- a/tests/server/test_server_interactions.py+++ b/tests/server/test_server_interactions.py@@ -158,7 +158,7 @@ class TestToolReturnTypes:async with Client(mcp) as client:result = await client.call_tool("path_tool", {})assert isinstance(result[0], TextContent)- assert result[0].text == f'"{test_path}"'+ assert result[0].text == f'"{str(test_path)}"'async def test_datetime(self):mcp = FastMCP()