mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-09 01:40:27 +02:00
test: Avoid F541 (f-string without any placeholders)
This commit is contained in:
@ -393,7 +393,7 @@ class UTXOCacheTracepointTest(BitcoinTestFramework):
|
||||
bpf = BPF(text=utxocache_flushes_program, usdt_contexts=[ctx], debug=0, cflags=["-Wno-error=implicit-function-declaration"])
|
||||
bpf["utxocache_flush"].open_perf_buffer(handle_utxocache_flush)
|
||||
|
||||
self.log.info(f"prune blockchain to trigger a flush for pruning")
|
||||
self.log.info("prune blockchain to trigger a flush for pruning")
|
||||
expected_flushes.append({"mode": "NONE", "for_prune": True, "size": 0})
|
||||
self.nodes[0].pruneblockchain(315)
|
||||
|
||||
@ -401,7 +401,7 @@ class UTXOCacheTracepointTest(BitcoinTestFramework):
|
||||
bpf.cleanup()
|
||||
|
||||
self.log.info(
|
||||
f"check that we don't expect additional flushes and that the handle_* function succeeded")
|
||||
"check that we don't expect additional flushes and that the handle_* function succeeded")
|
||||
assert_equal(0, len(expected_flushes))
|
||||
assert_equal(EXPECTED_HANDLE_FLUSH_SUCCESS, handle_flush_succeeds)
|
||||
|
||||
|
Reference in New Issue
Block a user