Skip to content

Commit 4ac189e

Browse files
committed
test: narrow cli coverage pragma
1 parent 4bc0e48 commit 4ac189e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/mcp/cli/cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ def run(
324324
help="Transport protocol to use (stdio or sse)",
325325
),
326326
] = None,
327-
) -> None: # pragma: no cover
327+
) -> None:
328328
"""Run an MCP server.
329329
330330
The server can be specified in two ways:
@@ -359,7 +359,7 @@ def run(
359359

360360
server.run(**kwargs)
361361

362-
except Exception:
362+
except Exception: # pragma: no cover
363363
logger.exception(
364364
"Failed to run server",
365365
extra={

0 commit comments

Comments
 (0)