python: this also works in 3.11

This commit is contained in:
Rasmus Lerchedahl Petersen
2022-12-15 11:55:01 +01:00
parent 3ace1ee69f
commit 8e8d36f35e

View File

@@ -1521,7 +1521,7 @@ class With_await:
def __await__(self):
SINK1(self)
OK() # Call not found
return (yield from asyncio.coroutine(lambda: "")())
return (yield from [])
async def atest_await():