Skip to content

Commit 8ad5fc3

Browse files
committed
filter out deprecation warning for lowest version in test
1 parent 9cb5441 commit 8ad5fc3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/server/fastmcp/test_server.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1073,6 +1073,7 @@ def prompt_fn(name: str) -> str:
10731073
with pytest.raises(McpError, match="Missing required arguments"):
10741074
await client.get_prompt("prompt_fn")
10751075

1076+
@pytest.mark.filterwarnings("ignore::DeprecationWarning:httpx")
10761077
def test_streamable_http_no_redirect(self):
10771078
"""Test that /mcp endpoint does not cause 307 redirect (PR #1115)."""
10781079
from starlette.testclient import TestClient

0 commit comments

Comments
 (0)