def _assertMarkdownParity(self, text):
        #TODO add normalization
        python_html = markdown2.markdown(text)
        perl_html = _markdown_with_perl(text)

        close_though = ""
        if python_html != perl_html \
           and (python_html.replace('\n', '')
                == perl_html.replace('\n', '')):
            close_though = " (close though -- all but EOLs match)"

        self.assertEqual(python_html, perl_html, _dedent("""\
            markdown2.py didn't produce the same output as Markdown.pl%s:
              ---- text ----
            %s  ---- Python markdown2.py HTML ----
            %s  ---- Perl Markdown.pl HTML ----
            %s""") % (close_though, _display(text),
                      _display(python_html), _display(perl_html)))
publish a new message into the channel message queue
dataset/ETHPy150Open an0/Letterpress/code/markdown2/test/test_markdown2.py/_MarkdownTestCase._assertMarkdownParity--crossover with--dataset/ETHPy150Open urielka/shaveet/shaveet/api.py/new_message