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

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