Skip to content

Commit 8eac1a6

Browse files
MeggyCaleyurtsev
andauthored
use python3 evocations in tests (#270)
On some systems the `python` binary doesn't have to be present. This enables running the testsuite on such systems. Co-authored-by: Eugene Yurtsev <eugene@langchain.dev>
1 parent dc4bd5a commit 8eac1a6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test_client.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ async def test_multi_server_mcp_client(
2424
client = MultiServerMCPClient(
2525
{
2626
"math": {
27-
"command": "python",
27+
"command": "python3",
2828
"args": [math_server_path],
2929
"transport": "stdio",
3030
},
3131
"weather": {
32-
"command": "python",
32+
"command": "python3",
3333
"args": [weather_server_path],
3434
"transport": "stdio",
3535
},
@@ -105,7 +105,7 @@ async def test_multi_server_connect_methods(
105105
client = MultiServerMCPClient(
106106
{
107107
"math": {
108-
"command": "python",
108+
"command": "python3",
109109
"args": [math_server_path],
110110
"transport": "stdio",
111111
},
@@ -147,7 +147,7 @@ async def test_get_prompt():
147147
client = MultiServerMCPClient(
148148
{
149149
"math": {
150-
"command": "python",
150+
"command": "python3",
151151
"args": [math_server_path],
152152
"transport": "stdio",
153153
}

0 commit comments

Comments
 (0)