#NEWLINE# def test_quo4( self ) : #NEWLINE# #INDENT# w = Grammar ( "root    'some\\''" ) #NEWLINE# g = w . generate ( ) #NEWLINE# self . assertEqual ( g , "some'" ) #NEWLINE# w = Grammar ( 'root    "some\\""' ) #NEWLINE# g = w . generate ( ) #NEWLINE# self . assertEqual ( g , 'some"' )