#NEWLINE# def raise_fails( self , object_ ) : #NEWLINE# #INDENT# "Make sure that raising 'object_' triggers a TypeError." #NEWLINE# try : #NEWLINE# #INDENT# raise object_ #NEWLINE# #UNINDENT# except TypeError : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# self . fail ( ( 'TypeError expected for raising %s' % type ( object_ ) ) )