#NEWLINE# @ test . raises ( exc . InterfaceError ) #NEWLINE# def test_cement_interface_error( self ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# raise exc . InterfaceError ( 'InterfaceError Test' ) #NEWLINE# #UNINDENT# except exc . InterfaceError as e : #NEWLINE# #INDENT# self . eq ( e . msg , 'InterfaceError Test' ) #NEWLINE# self . eq ( e . __str__ ( ) , 'InterfaceError Test' ) #NEWLINE# raise