#NEWLINE# @ test . raises ( InterfaceError ) #NEWLINE# def test_invalid_stacked_on( self ) : #NEWLINE# #INDENT# self . reset_backend ( ) #NEWLINE# try : #NEWLINE# #INDENT# self . app = self . make_app ( APP , argument_handler = ArgparseArgumentHandler , handlers = [ Base , Unstacked ] ) #NEWLINE# with self . app as app : #NEWLINE# #INDENT# res = app . run ( ) #NEWLINE# #UNINDENT# #UNINDENT# except InterfaceError as e : #NEWLINE# #INDENT# self . ok ( re . match ( '(.*)is not stacked anywhere!(.*)' , res . msg ) ) #NEWLINE# raise