#NEWLINE# def test_permissionDenied( self ) : #NEWLINE# #INDENT# '\n        If the source file is not readable, this is reported on standard\n        error.\n        ' #NEWLINE# sourcePath = self . makeTempFile ( '' ) #NEWLINE# os . chmod ( sourcePath , 0 ) #NEWLINE# ( count , errors ) = self . getErrors ( sourcePath ) #NEWLINE# self . assertEqual ( sourcePath , 1 ) #NEWLINE# self . assertEqual ( errors , [ ( 'unexpectedError' , sourcePath , 'Permission denied' ) ] )