aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2021-06-11 13:55:02 +0800
committerfanquake <fanquake@gmail.com>2021-08-18 12:39:17 +0800
commit3e2f84e7a96cb4b97b609ac853f78edd0ed43f82 (patch)
tree4a1f25e4663a0ca48e0102c8feefd9f29041a906 /test
parente2f1fd8ee92fa421b6d293169044d6ddd5a9b8df (diff)
downloadbitcoin-3e2f84e7a96cb4b97b609ac853f78edd0ed43f82.tar.xz
test: use f-strings in feature_csv_activation.py
Diffstat (limited to 'test')
-rwxr-xr-xtest/functional/feature_csv_activation.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/feature_csv_activation.py b/test/functional/feature_csv_activation.py
index 1ac1a0563f..bc0050d47a 100755
--- a/test/functional/feature_csv_activation.py
+++ b/test/functional/feature_csv_activation.py
@@ -247,7 +247,7 @@ class BIP68_112_113Test(BitcoinTestFramework):
self.send_blocks(test_blocks)
assert_equal(self.tipheight, CSV_ACTIVATION_HEIGHT - 2)
- self.log.info("Height = {}, CSV not yet active (will activate for block {}, not {})".format(self.tipheight, CSV_ACTIVATION_HEIGHT, CSV_ACTIVATION_HEIGHT - 1))
+ self.log.info(f"Height = {self.tipheight}, CSV not yet active (will activate for block {CSV_ACTIVATION_HEIGHT}, not {CSV_ACTIVATION_HEIGHT - 1})")
assert not softfork_active(self.nodes[0], 'csv')
# Test both version 1 and version 2 transactions for all tests