Skip to content

Commit 8fc8d3f

Browse files
cleanup comment
1 parent 34c782d commit 8fc8d3f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tests/client/test_notification_response.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,7 @@ async def message_handler(
141141
# Initialize should work normally
142142
await session.initialize()
143143

144-
# Send a notification - this should not raise an error
145-
# even though the server returns 204 instead of 202
146-
# Without the fix, this would fail with a JSON parsing error
147-
# because the client would try to parse the empty 204 response body
144+
# The test server returns a 204 instead of the expected 202
148145
await session.send_notification(
149146
ClientNotification(RootsListChangedNotification(method="notifications/roots/list_changed", params={}))
150147
)

0 commit comments

Comments
 (0)