Skip to content

Commit 8e8d36f

Browse files
committed
python: this also works in 3.11
1 parent 3ace1ee commit 8e8d36f

File tree

1 file changed

+1
-1
lines changed
  • python/ql/test/experimental/dataflow/coverage

1 file changed

+1
-1
lines changed

python/ql/test/experimental/dataflow/coverage/classes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1521,7 +1521,7 @@ class With_await:
15211521
def __await__(self):
15221522
SINK1(self)
15231523
OK() # Call not found
1524-
return (yield from asyncio.coroutine(lambda: "")())
1524+
return (yield from [])
15251525

15261526

15271527
async def atest_await():

0 commit comments

Comments
 (0)