forked from VimPlug/jedi
Fix await issues. At the moment Jedi is just ignoring await statements.
This commit is contained in:
19
test/completion/async_.py
Normal file
19
test/completion/async_.py
Normal file
@@ -0,0 +1,19 @@
|
||||
"""
|
||||
Tests for all async use cases.
|
||||
|
||||
Currently we're not supporting completion of them, but they should at least not
|
||||
raise errors or return strange results.
|
||||
"""
|
||||
|
||||
|
||||
async def x():
|
||||
await 3
|
||||
|
||||
#?
|
||||
x()
|
||||
|
||||
a = await x()
|
||||
#?
|
||||
a
|
||||
|
||||
|
||||
Reference in New Issue
Block a user