Skip to content

Commit b19d816

Browse files
committed
Style fixes.
1 parent 752def6 commit b19d816

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tests/test_pool.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,6 +492,7 @@ async def test_cancelled_connection(pool_creator, loop):
492492
# If we receive [(1, 0)] - we retrieved old cursor's values
493493
assert list(res) == [(2, 0)]
494494

495+
495496
@pytest.mark.run_loop
496497
async def test_pool_with_connection_recycling(pool_creator, loop):
497498
pool = await pool_creator(minsize=1, maxsize=1, pool_recycle=3)
@@ -510,8 +511,9 @@ async def test_pool_with_connection_recycling(pool_creator, loop):
510511
val = await cur.fetchone()
511512
assert (1,) == val
512513

514+
513515
@pytest.mark.run_loop
514-
async def test_pool_does_not_reuse_connection_with_exception(pool_creator, loop):
516+
async def test_pool_drops_connection_with_exception(pool_creator, loop):
515517
pool = await pool_creator(minsize=1, maxsize=1)
516518

517519
async with pool.get() as conn:

0 commit comments

Comments
 (0)