aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2021-06-11 15:32:16 +0800
committerfanquake <fanquake@gmail.com>2021-08-18 12:39:20 +0800
commit31bdb33dcb8345df1bb94b28e811252a918d7dcb (patch)
treea0f82785a44f15c3a423aacc89efb89759f81a15 /test
parentb166d54c3cbb0c028210cee977b3dcde5ac5474f (diff)
downloadbitcoin-31bdb33dcb8345df1bb94b28e811252a918d7dcb.tar.xz
test: use f-strings in feature_segwit.py
Diffstat (limited to 'test')
-rwxr-xr-xtest/functional/feature_segwit.py2
1 files changed, 1 insertions, 1 deletions
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