Python: Fix test

This commit is contained in:
Rasmus Lerchedahl Petersen
2021-11-10 11:06:45 +01:00
parent a856395d56
commit c6d285dd2a

View File

@@ -20,7 +20,7 @@ async def test_cursor():
# variants using as few `async with` as possible
pool = await aiopg.create_pool()
conn = pool.acquire()
conn = await pool.acquire()
cur = await conn.cursor()
await cur.execute("sql") # $ getSql="sql" constructedSql="sql"