From 0bab78f2ddf3db42057b37f907e6deb0f78b4c86 Mon Sep 17 00:00:00 2001 From: Iurii Pliner Date: Sun, 1 Sep 2024 21:53:45 +0100 Subject: [PATCH] Fix deprecation warning --- tests/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/conftest.py b/tests/conftest.py index b5bc10a..0e53259 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -77,7 +77,7 @@ async def _handle_client( @pytest.fixture -async def tcp_proxy(loop: asyncio.AbstractEventLoop) -> AsyncIterable[Callable[[int, int], Awaitable[TcpProxy]]]: +async def tcp_proxy(event_loop: asyncio.AbstractEventLoop) -> AsyncIterable[Callable[[int, int], Awaitable[TcpProxy]]]: proxy: Optional[TcpProxy] = None async def go(src_port: int, dst_port: int) -> TcpProxy: