#NEWLINE# def __exit__( self , exc_type , exc_value , traceback ) : #NEWLINE# #INDENT# if super ( ExpectedException , self ) . __exit__ ( exc_type , exc_value , traceback ) : #NEWLINE# #INDENT# self . exception = exc_value #NEWLINE# return True #NEWLINE# #UNINDENT# return False