#NEWLINE# def test_arity_checking2( ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# dataset = data . fromfile ( testfile ( 'testdata7.txt' ) ) #NEWLINE# #UNINDENT# except : #NEWLINE# #INDENT# assert False #NEWLINE# #UNINDENT# assert ( [ v . arity for v in dataset . variables ] == [ 3 , 4 , 3 , 6 ] )