#NEWLINE# @ setup ( { #NEWLINE# #INDENT# 'cycle24' : "{% for x in values %}{% cycle 'a' 'b' 'c' as abc silent %}{% include 'included-cycle' %}{% endfor %}" , #NEWLINE# 'included-cycle' : '{{ abc }}' , #NEWLINE# #UNINDENT# } ) #NEWLINE# def test_cycle24( self ) : #NEWLINE# #INDENT# output = self . engine . render_to_string ( 'cycle24' , { #NEWLINE# #INDENT# 'values' : [ 1 , 2 , 3 , 4 ] , #NEWLINE# #UNINDENT# } ) #NEWLINE# self . assertEqual ( output , 'abca' )