Fix await issues. At the moment Jedi is just ignoring await statements.
This commit is contained in:
1 parent
d3c437e891
commit
6a18ddf8cb
2 files changed
+28
-7
No files matched your search
@@ -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