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

This commit is contained in:
MarcoFalke committed 2024-12-05 08:39:09 +01:00
1 parent 11f68cc810
commit fae76393bd
19 files changed
+30 -29

No files matched your search

+2 -2
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)