'Ensure cooperative reader supports iterator backends too'

def test_cooperative_reader_of_iterator(self):

    data = 'abcdefgh'
    data_list = [(data[i:(i + 1)] * 3) for i in range(len(data))]
    reader = utils.CooperativeReader(data_list)
    chunks = []
    while True:
        chunks.append(reader.read(3))
        if (chunks[(-1)] == ''):
            break
    meat = ''.join(chunks)
    self.assertEqual('aaabbbcccdddeeefffggghhh', meat)
