@@ -153,7 +153,6 @@ def test_init_unique_system_id(self):
153153
154154 with scoped_config (cache_initdb = True ,
155155 cached_initdb_unique = True ) as config :
156-
157156 self .assertTrue (config .cache_initdb )
158157 self .assertTrue (config .cached_initdb_unique )
159158
@@ -376,21 +375,18 @@ def test_backup_multiple(self):
376375
377376 with node .backup (xlog_method = 'fetch' ) as backup1 , \
378377 node .backup (xlog_method = 'fetch' ) as backup2 :
379-
380378 self .assertNotEqual (backup1 .base_dir , backup2 .base_dir )
381379
382380 with node .backup (xlog_method = 'fetch' ) as backup :
383381 with backup .spawn_primary ('node1' , destroy = False ) as node1 , \
384382 backup .spawn_primary ('node2' , destroy = False ) as node2 :
385-
386383 self .assertNotEqual (node1 .base_dir , node2 .base_dir )
387384
388385 def test_backup_exhaust (self ):
389386 with get_new_node () as node :
390387 node .init (allow_streaming = True ).start ()
391388
392389 with node .backup (xlog_method = 'fetch' ) as backup :
393-
394390 # exhaust backup by creating new node
395391 with backup .spawn_primary ():
396392 pass
@@ -778,7 +774,6 @@ def test_pg_config(self):
778774
779775 # modify setting for this scope
780776 with scoped_config (cache_pg_config = False ) as config :
781-
782777 # sanity check for value
783778 self .assertFalse (config .cache_pg_config )
784779
@@ -810,7 +805,6 @@ def test_config_stack(self):
810805 self .assertEqual (c1 .cached_initdb_dir , d1 )
811806
812807 with scoped_config (cached_initdb_dir = d2 ) as c2 :
813-
814808 stack_size = len (testgres .config .config_stack )
815809
816810 # try to break a stack
@@ -840,7 +834,6 @@ def test_unix_sockets(self):
840834 def test_auto_name (self ):
841835 with get_new_node ().init (allow_streaming = True ).start () as m :
842836 with m .replicate ().start () as r :
843-
844837 # check that nodes are running
845838 self .assertTrue (m .status ())
846839 self .assertTrue (r .status ())
0 commit comments