We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e4a992 commit f34134dCopy full SHA for f34134d
tests/__init__.py
@@ -28,8 +28,7 @@ def allow_windows(test_method):
28
async def wrapped(self, *args, **kwargs):
29
_ThreadedLoopAdapter.start(id(test_method))
30
coro = test_method(self, *args, **kwargs)
31
- future = asyncio.run_coroutine_threadsafe(coro=coro, loop=_ThreadedLoopAdapter._loop)
32
- return future.result()
+ asyncio.run_coroutine_threadsafe(coro=coro, loop=_ThreadedLoopAdapter._loop).result()
33
34
return wrapped
35
0 commit comments