Commit cfbb4c9
Fix MCP test for auto-reconnect behavior on Python 3.11
Mock connect() in test_call_tool_without_connection so the
auto-reconnect path doesn't spawn a real subprocess that fails
differently across Python versions.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent d4f9efe commit cfbb4c9
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
36 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
37 | 40 | | |
38 | 41 | | |
0 commit comments