Skip to content

Commit c6d285d

Browse files
committed
Python: Fix test
1 parent a856395 commit c6d285d

File tree

1 file changed

+1
-1
lines changed
  • python/ql/test/library-tests/frameworks/aiopg

1 file changed

+1
-1
lines changed

python/ql/test/library-tests/frameworks/aiopg/test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ async def test_cursor():
2020

2121
# variants using as few `async with` as possible
2222
pool = await aiopg.create_pool()
23-
conn = pool.acquire()
23+
conn = await pool.acquire()
2424
cur = await conn.cursor()
2525
await cur.execute("sql") # $ getSql="sql" constructedSql="sql"
2626

0 commit comments

Comments
 (0)