File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 11"""Tests for the MCP proxy pattern."""
22
33from collections .abc import Callable
4+ from typing import Any
45
56import anyio
67import pytest
2122@pytest .fixture
2223async def create_streams () -> Callable [[], StreamsFixtureReturn ]:
2324 """Helper fixture to create memory streams for testing with proper cleanup."""
24- streams_to_cleanup : list [MemoryObjectSendStream [ SessionMessage | Exception ] | MemoryObjectReceiveStream [ SessionMessage | Exception ] | MemoryObjectSendStream [ SessionMessage ] | MemoryObjectReceiveStream [ SessionMessage ] ] = []
25+ streams_to_cleanup : list [Any ] = []
2526
2627 def _create () -> StreamsFixtureReturn :
2728 client_read_writer , client_read = anyio .create_memory_object_stream [SessionMessage | Exception ](10 )
You can’t perform that action at this time.
0 commit comments