#NEWLINE# def test_escape_quote( self ) : #NEWLINE# #INDENT# intermediate = "x = start_shexe(echo '1')shexe()shexe" #NEWLINE# escaped = preprocessor . _escape ( intermediate ) #NEWLINE# self . assertEqual ( escaped , "x = start_shexe(echo \\'1\\')shexe()shexe" )