File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -40,22 +40,22 @@ def run_test(self):
40
40
# Node should exit immediately and output help to stdout.
41
41
output , _ = self .get_node_output (ret_code_expected = 0 )
42
42
assert b'Options' in output
43
- self .log .info ("Help text received: {} (...)" . format ( output [ 0 : 60 ]) )
43
+ self .log .info (f "Help text received: { output [ 0 : 60 ] } (...)" )
44
44
45
45
self .log .info ("Start bitcoin with -version for version information" )
46
46
self .nodes [0 ].start (extra_args = ['-version' ])
47
47
# Node should exit immediately and output version to stdout.
48
48
output , _ = self .get_node_output (ret_code_expected = 0 )
49
49
assert b'version' in output
50
- self .log .info ("Version text received: {} (...)" . format ( output [ 0 : 60 ]) )
50
+ self .log .info (f "Version text received: { output [ 0 : 60 ] } (...)" )
51
51
52
52
# Test that arguments not in the help results in an error
53
53
self .log .info ("Start bitcoind with -fakearg to make sure it does not start" )
54
54
self .nodes [0 ].start (extra_args = ['-fakearg' ])
55
55
# Node should exit immediately and output an error to stderr
56
56
_ , output = self .get_node_output (ret_code_expected = 1 )
57
57
assert b'Error parsing command line arguments' in output
58
- self .log .info ("Error message received: {} (...)" . format ( output [ 0 : 60 ]) )
58
+ self .log .info (f "Error message received: { output [ 0 : 60 ] } (...)" )
59
59
60
60
61
61
if __name__ == '__main__' :
You can’t perform that action at this time.
0 commit comments