From aab1f748100fcaabd640c4aff3e1a0978c12025f Mon Sep 17 00:00:00 2001 From: Jeremiah Lowin <153965+jlowin@users.noreply.github.com> Date: Mon, 30 Jun 2025 13:12:25 -0400 Subject: [PATCH] response_type is None --- tests/client/test_elicitation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/client/test_elicitation.py b/tests/client/test_elicitation.py index 400c93fd3..e904340db 100644 --- a/tests/client/test_elicitation.py +++ b/tests/client/test_elicitation.py @@ -1,6 +1,6 @@ from dataclasses import asdict, dataclass from enum import Enum -from typing import Any, Literal +from typing import Literal import pytest from mcp.types import ElicitRequestParams @@ -153,7 +153,7 @@ class TestScalarResponseTypes: message, response_type, params: ElicitRequestParams, ctx ): assert params.requestedSchema == {"type": "object", "properties": {}} - assert response_type == dict[str, Any] + assert response_type is None return ElicitResult(action="accept") async with Client(mcp, elicitation_handler=elicitation_handler) as client: