mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-02 09:46:52 -05:00
test: use f-strings in feature_settings.py
This commit is contained in:
parent
6651d77f22
commit
cf6d66bf94
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ class SettingsTest(BitcoinTestFramework):
|
|||
with altsettings.open("w") as fp:
|
||||
fp.write('{"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)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue