Show in a test that something doesn't work properly around async analysis

This commit is contained in:
Dave Halter
2018-02-27 18:19:38 +01:00
parent 6e24c120cf
commit 80ee3b8fcf

View File

@@ -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():