def _assert_equal_on_sequences(actual, desired, err_msg='<STR_LIT>'):
assert_equal(len(actual), len(desired), err_msg)<EOL>for k in range(len(desired)):<EOL><INDENT>assert_equal(actual[k], desired[k], '<STR_LIT>' % (k, err_msg))<EOL><DEDENT>return<EOL>
Asserts the equality of two non-array sequences.