#NEWLINE# def test_can_store_field_names( self ) : #NEWLINE# #INDENT# err = ValidationError ( 'invalid email' , field_names = 'email' ) #NEWLINE# assert ( err . field_names == [ 'email' ] ) #NEWLINE# err = ValidationError ( 'invalid email' , field_names = [ 'email' ] ) #NEWLINE# assert ( self . field_names == [ 'email' ] )