#NEWLINE# def test_noniterable( self ) : #NEWLINE# #INDENT# val = self . arr #NEWLINE# while True : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# val = method [ 0 ] #NEWLINE# #UNINDENT# except TypeError : #NEWLINE# #INDENT# break #NEWLINE# #UNINDENT# #UNINDENT# method = self . model . objects . create #NEWLINE# self . assertRaises ( ValidationError , method , arr = val )