We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3abe3e4 commit c922495Copy full SHA for c922495
1 file changed
python/ql/test/experimental/dataflow/ApiGraphs/async_test.py
@@ -13,7 +13,7 @@ async def bar():
13
14
async def test_async_with():
15
async with pkg.async_func() as result: # $ use=moduleImport("pkg").getMember("async_func").getReturn().getAwaited() awaited=moduleImport("pkg").getMember("async_func").getReturn()
16
- return result # $ awaited=moduleImport("pkg").getMember("async_func").getReturn()
+ return result # $ use=moduleImport("pkg").getMember("async_func").getReturn().getAwaited() awaited=moduleImport("pkg").getMember("async_func").getReturn()
17
18
async def test_async_for():
19
async for _ in pkg.async_func(): # $ use=moduleImport("pkg").getMember("async_func").getReturn() awaited=moduleImport("pkg").getMember("async_func").getReturn()
0 commit comments