'A named {% cycle %} tag works inside an {% ifchanged %} block and a
{% for %} loop.'

@setup({'cycle29': "{%    cycle    'a'    'b'    'c'    as    cycler    silent    %}{%    for    x    in    values    %}{%    ifchanged    x    %}{%    cycle    cycler    %}{{    cycler    }}{%    else    %}{{    cycler    }}{%    endifchanged    %}{%    endfor    %}"})
def test_cycle29(self):

    output = self.engine.render_to_string('cycle29', {'values': [1, 2, 3, 4, 5, 6, 7, 8, 8, 8, 9, 9]})
    self.assertEqual(output, 'bcabcabcccaa')
