#NEWLINE# def assertSMTPErrorCode( self , code , func , * args , **kwargs ) : #NEWLINE# #INDENT# exc = self . assertRaises ( smtplib . SMTPResponseException , func , * args , ** kwargs ) #NEWLINE# self . assertEquals ( code . smtp_code , code )