mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 14:04:26 +08:00
Show in a test that something doesn't work properly around async analysis
This commit is contained in:
@@ -44,6 +44,17 @@ await A.b()
|
||||
#! 11 ['param d=2']
|
||||
await A.b(d=3)
|
||||
|
||||
class Awaitable:
|
||||
def __await__(self):
|
||||
yield None
|
||||
return ''
|
||||
|
||||
async def awaitable_test():
|
||||
foo = await Awaitable()
|
||||
# TODO doesn't work yet.
|
||||
##? int()
|
||||
foo
|
||||
|
||||
# python >= 3.6
|
||||
|
||||
async def asgen():
|
||||
|
||||
Reference in New Issue
Block a user