Skip to content

Commit 4021da2

Browse files
committed
Fix ruff
1 parent 429eb64 commit 4021da2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/issues/test_1356_sse_parsing_line_separator.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,10 @@ async def test_json_parsing_with_problematic_unicode(problematic_server: str) ->
145145
assert len(response.content) == 1
146146
text_content = response.content[0]
147147
assert hasattr(text_content, "text"), f"Response doesn't have text: {text_content}"
148-
148+
149149
# Type narrowing for pyright
150150
from mcp.types import TextContent
151+
151152
assert isinstance(text_content, TextContent)
152153

153154
expected = "This text contains a line separator\u2028character that may break JSON parsing"

0 commit comments

Comments
 (0)