From 34b07e620969f471790795f2f01fa695c2e36811 Mon Sep 17 00:00:00 2001 From: Cameron Hurst Date: Tue, 5 Jan 2021 06:28:16 -0500 Subject: [PATCH] fix: no need for a run call in the async version --- graphene/test/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphene/test/__init__.py b/graphene/test/__init__.py index 3f42a7bd..f84c7e48 100644 --- a/graphene/test/__init__.py +++ b/graphene/test/__init__.py @@ -40,6 +40,6 @@ class Client: async def execute_async(self, *args, **kwargs): executed = self.schema.execute(*args, **dict(self.execute_options, **kwargs)) if is_awaitable(executed): - executed = await asyncio.run(executed) + executed = await executed return self.format_result(executed)