Skip to content

Commit 4b940c2

Browse files
committed
fix linter
1 parent ccb0b45 commit 4b940c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_amqp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1231,7 +1231,7 @@ async def test_on_return_raises(self):
12311231
)
12321232

12331233
for _ in range(100):
1234-
with pytest.raises(aio_pika.exceptions.DeliveryError) as e:
1234+
with pytest.raises(aio_pika.exceptions.DeliveryError):
12351235
await channel.default_exchange.publish(
12361236
Message(body=body), routing_key=queue_name,
12371237
)

0 commit comments

Comments
 (0)