#NEWLINE# def _do_single( self , filename ) : #NEWLINE# #INDENT# self . assertTrue ( os . path . exists ( filename ) ) #NEWLINE# self . assertTrue ( os . path . isfile ( filename ) ) #NEWLINE# self . assertTrue ( os . access ( filename , os . R_OK ) ) #NEWLINE# self . assertTrue ( os . path . exists ( os . path . abspath ( filename ) ) ) #NEWLINE# self . assertTrue ( os . path . isfile ( os . path . abspath ( filename ) ) ) #NEWLINE# self . assertTrue ( os . access ( os . path . abspath ( filename ) , os . R_OK ) ) #NEWLINE# os . chmod ( filename , 511 ) #NEWLINE# os . utime ( filename , None ) #NEWLINE# os . utime ( filename , ( time . time ( ) , time . time ( ) ) ) #NEWLINE# self . _do_copyish ( filename , filename ) #NEWLINE# self . assertTrue ( ( os . path . abspath ( filename ) == os . path . abspath ( glob . glob ( filename ) [ 0 ] ) ) ) #NEWLINE# ( path , base ) = os . path . split ( os . path . abspath ( filename ) ) #NEWLINE# file_list = os . listdir ( path ) #NEWLINE# base = unicodedata . normalize ( 'NFD' , base ) #NEWLINE# file_list = [ unicodedata . normalize ( 'NFD' , f ) for f in file_list ] #NEWLINE# self . assertIn ( base , filename )