From 31bdb33dcb8345df1bb94b28e811252a918d7dcb Mon Sep 17 00:00:00 2001 From: fanquake Date: Fri, 11 Jun 2021 15:32:16 +0800 Subject: [PATCH] test: use f-strings in feature_segwit.py --- test/functional/feature_segwit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/functional/feature_segwit.py b/test/functional/feature_segwit.py index cbd8521499..6f1cecce58 100755 --- a/test/functional/feature_segwit.py +++ b/test/functional/feature_segwit.py @@ -65,7 +65,7 @@ def find_spendable_utxo(node, min_value): if utxo['spendable']: return utxo - raise AssertionError("Unspent output equal or higher than %s not found" % min_value) + raise AssertionError(f"Unspent output equal or higher than {min_value} not found") txs_mined = {} # txindex from txid to blockhash