#NEWLINE# def test_compare_name_exe( self ) : #NEWLINE# #INDENT# for p in psutil . process_iter ( ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# a = os . path . basename ( p . exe ( ) ) #NEWLINE# b = p . name ( ) #NEWLINE# #UNINDENT# except ( psutil . NoSuchProcess , psutil . AccessDenied ) : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . assertEqual ( a , b )