1
0
forked from VimPlug/jedi
Files
jedi-fork/test/completion/async_.py
2017-01-07 15:40:55 +01:00

26 lines
368 B
Python

"""
Tests for all async use cases.
Currently we're not supporting completion of them, but they should at least not
raise errors or return extremely strange results.
"""
async def x():
argh = await x()
#?
argh
return 2
#? int()
x()
a = await x()
#?
a
async def x2():
async with open('asdf') as f:
#? ['readlines']
f.readlines