Skip to content

Commit 0becf18

Browse files
committed
style: reformat assert to satisfy ruff
1 parent 9b50b0d commit 0becf18

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/server/test_streamable_http_manager.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -319,9 +319,9 @@ async def mock_receive():
319319
assert error_data["error"]["message"] == "Session not found"
320320

321321
# Verify warning was logged with the session ID
322-
assert any(
323-
"non-existent-session-id" in record.message for record in caplog.records
324-
), "Should log a warning with the unknown session ID"
322+
assert any("non-existent-session-id" in record.message for record in caplog.records), (
323+
"Should log a warning with the unknown session ID"
324+
)
325325

326326

327327
@pytest.mark.anyio

0 commit comments

Comments
 (0)