def test_chunks_iterable():
    '\n    test that chunks works on non-list iterables too\n    '
    count = 113
    input_range = range(count)
    chunk_output = []
    for chunk in chunks(input_range, chunk_size=10):
        chunk_output.append(chunk)
    assert (len(chunk_output) == ceil((113 / 10)))
    range_list = []
    for chunk in chunk_output:
        range_list += chunk
    assert (range_list == list(range(count)))
test that chunks works on non-list iterables too
def test_chunks_iterable():
    '\n    \n    '
    count = 113
    input_range = range(count)
    chunk_output = []
    for chunk in chunks(input_range, chunk_size=10):
        chunk_output.append(chunk)
    assert (len(chunk_output) == ceil((113 / 10)))
    range_list = []
    for chunk in chunk_output:
        range_list += chunk
    assert (range_list == list(range(count)))