#NEWLINE# def assert_field_raises( self , field , value ) : #NEWLINE# #INDENT# with assert_raises ( fields . MarshallingError ) : #NEWLINE# #INDENT# field . output ( 'foo' , { #NEWLINE# #INDENT# 'foo' : field , #NEWLINE# #UNINDENT# } )