#NEWLINE# def validate( self , encoding = DEFAULT_ENCODING ) : #NEWLINE# #INDENT# ff = FakeFile ( None ) #NEWLINE# try : #NEWLINE# #INDENT# self . emit ( ff , encoding ) #NEWLINE# #UNINDENT# except ValidationError as err : #NEWLINE# #INDENT# raise ValidationError ( err )