Skip to content

Commit eea58dd

Browse files
fix: keep the troubleshooting snippet ASCII-only
`tests/test_examples.py` pipes every code block in `docs/troubleshooting.md` through ruff, and on Windows that pipe is cp1252, not UTF-8: a `…` in the snippet reached ruff as invalid UTF-8 and failed every Windows job. The character carried no meaning the prose didn't already.
1 parent 4c2c11a commit eea58dd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/troubleshooting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ async def list_tools() -> None:
179179
async with Client("https://mcp.example.com/mcp") as client:
180180
await client.list_tools()
181181
except MCPError as exc:
182-
status = (exc.error.data or {}).get("httpStatus") # 421 here; 401, 403, 503 elsewhere
182+
status = (exc.error.data or {}).get("httpStatus") # 421 here; 401, 403, 503 elsewhere
183183
print(status)
184184
```
185185

0 commit comments

Comments
 (0)