X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/f4ebc683208d095b252b87147d002e925c9c1171..226cbf0226ee3bc26972357ba54c36409e9a84ae:/tests/data/preview/remove_await_parens.py?ds=inline diff --git a/tests/data/preview/remove_await_parens.py b/tests/data/preview/remove_await_parens.py index 571210a..8c7223d 100644 --- a/tests/data/preview/remove_await_parens.py +++ b/tests/data/preview/remove_await_parens.py @@ -77,6 +77,9 @@ async def main(): async def main(): await (await (await (await (await (asyncio.sleep(1)))))) +async def main(): + await (yield) + # output import asyncio @@ -167,3 +170,7 @@ async def main(): async def main(): await (await (await (await (await asyncio.sleep(1))))) + + +async def main(): + await (yield)