#NEWLINE# def test_stores_dictionaries( self ) : #NEWLINE# #INDENT# messages = { #NEWLINE# #INDENT# 'user' : { #NEWLINE# #INDENT# 'email' : [ 'email is invalid' ] , #NEWLINE# #UNINDENT# } , #NEWLINE# #UNINDENT# } #NEWLINE# err = ValidationError ( messages ) #NEWLINE# assert ( err . messages == messages )