Skip to content

Commit 4013208

Browse files
committed
fix flake8 errors
1 parent 64af95b commit 4013208

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

asyncpg/connect_utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,8 @@ async def _connect_addr(
643643
tr.close()
644644
raise
645645

646-
con = connection_class(pr, tr, loop, addr, config, params_input, query_logging)
646+
con = connection_class(pr, tr, loop, addr, config, params_input,
647+
query_logging)
647648
pr.set_connection(con)
648649
return con
649650

tests/test_pool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ async def test_pool_11(self):
239239
with self.assertRaisesRegex(
240240
asyncpg.InterfaceError,
241241
r'cannot call Cursor\.forward.*released '
242-
r'back to the pool'.format(meth=meth)):
242+
r'back to the pool'):
243243

244244
c.forward(1)
245245

0 commit comments

Comments
 (0)