Skip to content

Commit

Permalink
fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
rhatgadkar-goog committed Jan 9, 2025
1 parent d81da4f commit 73a775c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/system/test_asyncpg_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,12 +203,10 @@ async def test_lazy_connection_with_asyncpg() -> None:
password = os.environ["ALLOYDB_PASS"]
db = os.environ["ALLOYDB_DB"]

pool, connector = await create_asyncpg_pool(
inst_uri, user, password, db, "lazy"
)
pool, connector = await create_asyncpg_pool(inst_uri, user, password, db, "lazy")

async with pool.acquire() as conn:
res = await conn.fetch("SELECT 1")
assert res[0][0] == 1

await connector.close()
await connector.close()

0 comments on commit 73a775c

Please sign in to comment.