def METHOD_NAME(self):
    lo_task = None
    async def leftover():
        await asyncio.sleep(0.1)
    async def main():
        nonlocal lo_task
        lo_task = asyncio.create_task(leftover())
        return 123
    self.assertEqual(asyncio.run(main()), 123)
    self.assertTrue(lo_task.done())