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

@@ -86,7 +86,7 @@ class P2PHandshakeTest(BitcoinTestFramework):
DESIRABLE_SERVICE_FLAGS_PRUNED, expect_disconnect=False)
self.log.info("Check that feeler connections get disconnected immediately")
with node.assert_debug_log([f"feeler connection completed"]):
with node.assert_debug_log(["feeler connection completed"]):
self.add_outbound_connection(node, "feeler", NODE_NONE, wait_for_disconnect=True)
self.log.info("Check that connecting to ourself leads to immediate disconnect")