@@ -144,8 +144,6 @@ def test_init_after_cleanup(self):
144144node .cleanup ()
145145node .init ().start ().execute ('select 1' )
146146
147- # @unittest.skipUnless(util_exists('pg_resetwal.exe' if os.name == 'nt' else 'pg_resetwal'), 'pgbench might be missing')
148- # @unittest.skipUnless(pg_version_ge('9.6'), 'requires 9.6+')
149147def test_init_unique_system_id (self ):
150148# this function exists in PostgreSQL 9.6+
151149__class__ .helper__skip_test_if_util_not_exist ("pg_resetwal" )
@@ -456,7 +454,6 @@ def test_replicate(self):
456454res = node .execute ('select * from test' )
457455assert (res == [])
458456
459- # @unittest.skipUnless(pg_version_ge('9.6'), 'requires 9.6+')
460457def test_synchronous_replication (self ):
461458__class__ .helper__skip_test_if_pg_version_is_not_ge ("9.6" )
462459
@@ -499,7 +496,6 @@ def test_synchronous_replication(self):
499496res = standby1 .safe_psql ('select count(*) from abc' )
500497assert (rm_carriage_returns (res )== b'1000000\n ' )
501498
502- # @unittest.skipUnless(pg_version_ge('10'), 'requires 10+')
503499def test_logical_replication (self ):
504500__class__ .helper__skip_test_if_pg_version_is_not_ge ("10" )
505501
@@ -570,7 +566,6 @@ def test_logical_replication(self):
570566res = node2 .execute ('select * from test2' )
571567assert (res == [('a' , ), ('b' , )])
572568
573- # @unittest.skipUnless(pg_version_ge('10'), 'requires 10+')
574569def test_logical_catchup (self ):
575570""" Runs catchup for 100 times to be sure that it is consistent """
576571__class__ .helper__skip_test_if_pg_version_is_not_ge ("10" )
@@ -595,7 +590,6 @@ def test_logical_catchup(self):
595590assert (res == [(i ,i , )])
596591node1 .execute ('delete from test' )
597592
598- # @unittest.skipIf(pg_version_ge('10'), 'requires <10')
599593def test_logical_replication_fail (self ):
600594__class__ .helper__skip_test_if_pg_version_is_ge ("10" )
601595
@@ -774,7 +768,6 @@ def test_logging(self):
774768master .restart ()
775769assert (master ._logger .is_alive ())
776770
777- # @unittest.skipUnless(util_exists('pgbench.exe' if os.name == 'nt' else 'pgbench'), 'pgbench might be missing')
778771def test_pgbench (self ):
779772__class__ .helper__skip_test_if_util_not_exist ("pgbench" )
780773