def assertEqualIters(a, b):
    assert all(i1 == i2 for i1, i2 in izip_longest(a, b, fillvalue=object()))
Assert that two iterables have equal elements in order, whether they are lists, tuples, strings, iterators, etc.
dataset/ETHPy150Open alexmojaki/funcfinder/funcfinder/utils.py/assertEqualIters