File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
testsuite/pytest_plugins/pytest_userver/plugins Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 33"""
44
55# pylint: disable=redefined-outer-name
6+ import contextlib
67import typing
78
89import aiohttp .client_exceptions
910import pytest
1011import websockets
1112
1213from testsuite .daemons import service_client as base_service_client
13- from testsuite .utils import compat
1414
1515from pytest_userver import client
1616
@@ -68,7 +68,7 @@ async def userver_client_cleanup(
6868 else :
6969 tasks_to_suspend = ()
7070
71- @compat .asynccontextmanager
71+ @contextlib .asynccontextmanager
7272 async def cleanup_manager (client : client .Client ):
7373 @servicelogs_register_flusher
7474 async def do_flush ():
@@ -105,7 +105,7 @@ async def websocket_client(service_client, service_port):
105105 """
106106
107107 class Client :
108- @compat .asynccontextmanager
108+ @contextlib .asynccontextmanager
109109 async def get (self , path ):
110110 update_server_state = getattr (
111111 service_client ,
You can’t perform that action at this time.
0 commit comments