Skip to content

Commit 25dc0f9

Browse files
author
skyvanguard
committed
fix: add pragma for unused list_tools handler
The handler is required by the Server class but never invoked in these tests (only initialize() is called). Github-Issue:#1641
1 parent db30ed2 commit 25dc0f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/issues/test_1641_accept_header_wildcard.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def __init__(self):
4545
super().__init__(SERVER_NAME)
4646

4747
@self.list_tools()
48-
async def handle_list_tools() -> list[Tool]:
48+
async def handle_list_tools() -> list[Tool]: # pragma: no cover
4949
return []
5050

5151

0 commit comments

Comments
 (0)