@@ -388,7 +388,7 @@ def _base_expiration_overflow_policy_test(self, default_ttl, policy):
388388 pytest .fail ("should throw InvalidRequest" )
389389 if self .cluster .version () >= '3.0' : # client warn only on 3.0+
390390 if policy == 'CAP' :
391- logger .debug ("Warning is {}" , result .warnings [0 ])
391+ logger .debug ("Warning is {}" . format ( result .warnings [0 ]) )
392392 assert 'exceeds maximum supported expiration' in result .warnings [0 ], 'Warning not found'
393393 else :
394394 assert not result .warnings , "There should be no warnings"
@@ -591,7 +591,7 @@ def test_recover_negative_expiration_date_sstables_with_scrub(self):
591591 base_dir = os .path .dirname (os .path .abspath (__file__ ))
592592 corrupt_sstable_dir = os .path .join (base_dir , 'sstables' , 'ttl_test' , version )
593593 table_dir = self .get_table_paths ('ttl_table' )[0 ]
594- logger .debug ("Copying sstables from {} into {}" , corrupt_sstable_dir , table_dir )
594+ logger .debug ("Copying sstables from {} into {}" . format ( corrupt_sstable_dir , table_dir ) )
595595 copytree (corrupt_sstable_dir , table_dir )
596596
597597 logger .debug ("Load corrupted sstable" )
@@ -609,7 +609,7 @@ def test_recover_negative_expiration_date_sstables_with_scrub(self):
609609 reinsert_overflowed_ttl = True ,
610610 no_validate = True )
611611
612- logger .debug ("Executed offline scrub on {}" , str (scrubbed_sstables ))
612+ logger .debug ("Executed offline scrub on {}" . format ( str (scrubbed_sstables ) ))
613613
614614 logger .debug ("Starting node again" )
615615 self .cluster .start ()
0 commit comments