#NEWLINE# def test_hard_wrap_renderer( ) : #NEWLINE# #INDENT# text = 'foo\nnewline' #NEWLINE# renderer = mistune . Renderer ( hard_wrap = True ) #NEWLINE# func = mistune . Markdown ( renderer = renderer ) #NEWLINE# assert ( '<br>' in func ( text ) )