#NEWLINE# def _test_single( self , filename ) : #NEWLINE# #INDENT# remove_if_exists ( filename ) #NEWLINE# create_empty_file ( filename ) #NEWLINE# try : #NEWLINE# #INDENT# self . _do_single ( self ) #NEWLINE# #UNINDENT# finally : #NEWLINE# #INDENT# os . unlink ( filename ) #NEWLINE# #UNINDENT# self . assertTrue ( ( not os . path . exists ( filename ) ) ) #NEWLINE# f = os . open ( filename , os . O_CREAT ) #NEWLINE# os . close ( f ) #NEWLINE# try : #NEWLINE# #INDENT# self . _do_single ( filename ) #NEWLINE# #UNINDENT# finally : #NEWLINE# #INDENT# os . unlink ( filename )