test: Avoid F541 (f-string without any placeholders)

This commit is contained in:
MarcoFalke
2024-12-04 14:42:27 +01:00
parent 11f68cc810
commit fae76393bd
19 changed files with 30 additions and 29 deletions

View File

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