def assert_copy(iter1, iter2, **eql_kwargs):
for elem1, elem2 in zip(iter1, iter2):<EOL><INDENT>assert_almost_equal(elem1, elem2, **eql_kwargs)<EOL>msg = ("<STR_LIT>"<EOL>"<STR_LIT>"<EOL>).format(obj1=type(elem1), obj2=type(elem2))<EOL>assert elem1 is not elem2, msg<EOL><DEDENT>
iter1, iter2: iterables that produce elements
comparable with assert_almost_equal

Checks that the elements are equal, but not
the same object. (Does not check that items
in sequences are also not the same object)