Skip to content

Commit

Permalink
changing the code to be compatible with python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
eliax1996 committed Oct 30, 2023
1 parent fcd6710 commit bce8a6e
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions tests/integration/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -574,11 +574,9 @@ def fixture_registry_async_client_custom_config(
) -> Callable[[ConfigDefaults], AsyncContextManager[Client]]:
@asynccontextmanager
async def client_from_custom_config(config: ConfigDefaults) -> Client:
async with (
registry_cluster_from_custom_config(config) as registry_description,
_registry_async_client(request, registry_description, loop) as client,
):
yield client
async with registry_cluster_from_custom_config(config) as registry_description:
async with _registry_async_client(request, registry_description, loop) as client:
yield client

return client_from_custom_config

Expand Down

0 comments on commit bce8a6e

Please sign in to comment.