Skip to content

Commit c922495

Browse files
committed
Python: update test expectations
1 parent 3abe3e4 commit c922495

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/ql/test/experimental/dataflow/ApiGraphs/async_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ async def bar():
1313

1414
async def test_async_with():
1515
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()
16+
return result # $ use=moduleImport("pkg").getMember("async_func").getReturn().getAwaited() awaited=moduleImport("pkg").getMember("async_func").getReturn()
1717

1818
async def test_async_for():
1919
async for _ in pkg.async_func(): # $ use=moduleImport("pkg").getMember("async_func").getReturn() awaited=moduleImport("pkg").getMember("async_func").getReturn()

0 commit comments

Comments
 (0)