File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 4646
4747def util_exists (util ):
4848 def good_properties (f ):
49- # yapf: disable
5049 return (os .path .exists (f ) and
5150 os .path .isfile (f ) and
52- os .access (f , os .X_OK ))
51+ os .access (f , os .X_OK )) # yapf: disable
5352
5453 # try to resolve it
5554 if good_properties (get_bin_path (util )):
@@ -118,9 +117,8 @@ def test_init_unique_system_id(self):
118117 with get_new_node ().init ().start () as node0 :
119118 id0 = node0 .execute (query )[0 ]
120119
121- # yapf: disable
122- with scoped_config (cache_initdb = True ,
123- cached_initdb_unique = True ) as config :
120+ with scoped_config (
121+ cache_initdb = True , cached_initdb_unique = True ) as config :
124122
125123 self .assertTrue (config .cache_initdb )
126124 self .assertTrue (config .cached_initdb_unique )
@@ -371,7 +369,8 @@ def test_backup_wrong_xlog_method(self):
371369 with get_new_node () as node :
372370 node .init (allow_streaming = True ).start ()
373371
374- with self .assertRaises (BackupException , msg = 'Invalid xlog_method "wrong"' ):
372+ with self .assertRaises (
373+ BackupException , msg = 'Invalid xlog_method "wrong"' ):
375374 node .backup (xlog_method = 'wrong' )
376375
377376 def test_replicate (self ):
You can’t perform that action at this time.
0 commit comments