#NEWLINE# def test_small( self ) : #NEWLINE# #INDENT# total = BenchmarkData ( 'test_small' , 'Copy 1000 times a 1M file' ) #NEWLINE# for i in range ( 1000 ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# t = self . copy_file ( 'small{}' . format ( i ) , SMALL ) #NEWLINE# total . add_result ( t ) #NEWLINE# #UNINDENT# except BaseException as e : #NEWLINE# #INDENT# self . log . warn ( 'Error in test_small' ) #NEWLINE# self . log . warn ( e ) #NEWLINE# #UNINDENT# #UNINDENT# return total