Skip to content

Commit 4b3dec0

Browse files
committed
coverage: remove stale pragma on send_resource_list_changed
This method was only exercised by the subprocess-based integration tests, where coverage wasn't tracked in the child process. Now that test_integration.py runs the server in-process via Client(mcp), the method is covered and the pragma is invalid. Caught by strict-no-cover (ubuntu-only CI step). Github-Issue: #1776
1 parent 93ffa21 commit 4b3dec0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mcp/server/session.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ async def send_progress_notification(
474474
related_request_id,
475475
)
476476

477-
async def send_resource_list_changed(self) -> None: # pragma: no cover
477+
async def send_resource_list_changed(self) -> None:
478478
"""Send a resource list changed notification."""
479479
await self.send_notification(types.ResourceListChangedNotification())
480480

0 commit comments

Comments
 (0)