Skip to content

Commit a3d4178

Browse files
committed
test: preserve MCPServer branch coverage
1 parent 66ca55a commit a3d4178

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/mcp/server/mcpserver/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ def run(
297297
anyio.run(self.run_stdio_async)
298298
case "sse":
299299
anyio.run(lambda: self.run_sse_async(**kwargs))
300-
case "streamable-http":
300+
case "streamable-http": # pragma: no branch
301301
anyio.run(lambda: self.run_streamable_http_async(**kwargs))
302302
except KeyboardInterrupt:
303303
return

0 commit comments

Comments
 (0)