Skip to content

Commit 31bdb33

Browse files
committed
test: use f-strings in feature_segwit.py
1 parent b166d54 commit 31bdb33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/functional/feature_segwit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def find_spendable_utxo(node, min_value):
6565
if utxo['spendable']:
6666
return utxo
6767

68-
raise AssertionError("Unspent output equal or higher than %s not found" % min_value)
68+
raise AssertionError(f"Unspent output equal or higher than {min_value} not found")
6969

7070
txs_mined = {} # txindex from txid to blockhash
7171

0 commit comments

Comments
 (0)