Fix await issues. At the moment Jedi is just ignoring await statements.

This commit is contained in:
Dave Halter committed 2017-01-07 15:27:32 +01:00
1 parent d3c437e891
commit 6a18ddf8cb
2 files changed
+28 -7

No files matched your search

+19
View 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