From 43a0cf232be58d40479ff51790765b94e92aaae4 Mon Sep 17 00:00:00 2001 From: Antoine Poinsot Date: Thu, 29 Jun 2023 15:05:12 +0200 Subject: [PATCH] test_misc.py: linter --- tests/test_misc.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/tests/test_misc.py b/tests/test_misc.py index 51913fa9d..92394c1aa 100644 --- a/tests/test_misc.py +++ b/tests/test_misc.py @@ -18,11 +18,13 @@ def receive_and_send(lianad, bitcoind): wait_for(lambda: len(lianad.rpc.listcoins()["coins"]) == n_coins + 3) # Create a spend that will create a change output, sign and broadcast it. - outpoints = [next( - c["outpoint"] - for c in lianad.rpc.listcoins()["coins"] - if c["spend_info"] is None - )] + outpoints = [ + next( + c["outpoint"] + for c in lianad.rpc.listcoins()["coins"] + if c["spend_info"] is None + ) + ] destinations = { bitcoind.rpc.getnewaddress(): 200_000, }