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

+1 -1
View File
@@ -231,7 +231,7 @@ class MempoolTRUC(BitcoinTestFramework):
assert_greater_than_or_equal(TRUC_CHILD_MAX_VSIZE, tx_v3_child_large2["tx"].get_vsize())
assert_greater_than(tx_v3_parent_large2["tx"].get_vsize() + tx_v3_child_large2["tx"].get_vsize(), 10000)
assert_raises_rpc_error(-26, f"too-long-mempool-chain, exceeds ancestor size limit", node.sendrawtransaction, tx_v3_child_large2["hex"])
assert_raises_rpc_error(-26, "too-long-mempool-chain, exceeds ancestor size limit", node.sendrawtransaction, tx_v3_child_large2["hex"])
self.check_mempool([tx_v3_parent_large2["txid"]])
@cleanup(extra_args=["-datacarriersize=1000"])