X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/d90297c77bab6e22831b05ffc099bfc709cc7785..d1aee5f7fa136b1f0a7d8dfc318af81009074070:/.vim/bundle/black/tests/data/miscellaneous/async_as_identifier.py?ds=inline diff --git a/.vim/bundle/black/tests/data/miscellaneous/async_as_identifier.py b/.vim/bundle/black/tests/data/miscellaneous/async_as_identifier.py new file mode 100644 index 0000000..c36a5e5 --- /dev/null +++ b/.vim/bundle/black/tests/data/miscellaneous/async_as_identifier.py @@ -0,0 +1,49 @@ +def async(): + pass + + +def await(): + pass + + +await = lambda: None +async = lambda: None +async() +await() + + +def sync_fn(): + await = lambda: None + async = lambda: None + async() + await() + + +async def async_fn(): + await async_fn() + + +# output +def async(): + pass + + +def await(): + pass + + +await = lambda: None +async = lambda: None +async() +await() + + +def sync_fn(): + await = lambda: None + async = lambda: None + async() + await() + + +async def async_fn(): + await async_fn()