mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-07 08:50:26 +02:00
test: use f-strings in feature_settings.py
This commit is contained in:
@ -83,7 +83,7 @@ class SettingsTest(BitcoinTestFramework):
|
|||||||
with altsettings.open("w") as fp:
|
with altsettings.open("w") as fp:
|
||||||
fp.write('{"key": "value"}')
|
fp.write('{"key": "value"}')
|
||||||
with node.assert_debug_log(expected_msgs=['Setting file arg: key = "value"']):
|
with node.assert_debug_log(expected_msgs=['Setting file arg: key = "value"']):
|
||||||
self.start_node(0, extra_args=["-settings={}".format(altsettings)])
|
self.start_node(0, extra_args=[f"-settings={altsettings}"])
|
||||||
self.stop_node(0)
|
self.stop_node(0)
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user