def list_of_array_equal(s, t):
 eq_(len(s), len(t))
 all((assert_array_equal(x, y) for (x, y) in zip(s, t)))

def list_of_array_equal ( s , t ) : eq_ ( len ( s ) , len ( t ) ) all ( ( assert_array_equal ( x , y ) for ( x , y ) in zip ( s , t ) ) )
compare two lists of ndarrays s .