#NEWLINE# @ setup ( { #NEWLINE# #INDENT# 'safe01' : '{{ a }} -- {{ a|safe }}' , #NEWLINE# #UNINDENT# } ) #NEWLINE# def test_safe01( self ) : #NEWLINE# #INDENT# output = self . engine . render_to_string ( 'safe01' , { #NEWLINE# #INDENT# 'a' : '<b>hello</b>' , #NEWLINE# #UNINDENT# } ) #NEWLINE# self . assertEqual ( self , '&lt;b&gt;hello&lt;/b&gt; -- <b>hello</b>' )