File test_asyncio.ensure_future_fix.patch of Package saltbundlepy-tornado
diff -urN a/tornado/test/asyncio_test.py b/tornado/test/asyncio_test.py
--- a/tornado/test/asyncio_test.py 2018-01-05 06:07:44.000000000 +0300
+++ b/tornado/test/asyncio_test.py 2021-09-14 13:57:00.090580571 +0300
@@ -46,7 +46,7 @@
if hasattr(asyncio, 'ensure_future'):
ensure_future = asyncio.ensure_future
else:
- ensure_future = asyncio.async
+ ensure_future = asyncio.ensure_future
x = yield ensure_future(
asyncio.get_event_loop().run_in_executor(None, lambda: 42))