"""test utilities that use async/await syntaxa separate file to avoid syntax errors on Python 2"""importasynciodefasync_func():"""Simple async function to schedule a task on the current eventloop"""loop=asyncio.get_event_loop()assertloop.is_running()asyncdeftask():awaitasyncio.sleep(1)loop.create_task(task())