test: use f-strings in feature_segwit.py

This commit is contained in:
fanquake 2021-06-11 15:32:16 +08:00
parent b166d54c3c
commit 31bdb33dcb
No known key found for this signature in database
GPG key ID: 2EEB9F5CC09526C1

View file

@ -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