#NEWLINE# @ setup ( { #NEWLINE# #INDENT# 'join03' : '{{ a|join:" &amp; " }}' , #NEWLINE# #UNINDENT# } ) #NEWLINE# def test_join03( self ) : #NEWLINE# #INDENT# output = self . engine . render_to_string ( 'join03' , { #NEWLINE# #INDENT# 'a' : [ 'alpha' , 'beta & me' ] , #NEWLINE# #UNINDENT# } ) #NEWLINE# self . assertEqual ( output , 'alpha &amp; beta &amp; me' )