#NEWLINE# def opener_has_handler( self , opener , handler_class ) : #NEWLINE# #INDENT# for h in self . handlers : #NEWLINE# #INDENT# if ( h . __class__ == handler_class ) : #NEWLINE# #INDENT# break #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# self . assertTrue ( False )