class_docstr: Test codehilite extension. 
class_docstr_tok: ["Test","codehilite","extension","."]
code: def testHighlightAmps(self):
      if has_pygments:
          expected = (
              '<div class="codehilite"><pre><span></span><code>&amp;\n'
              "&amp;amp;\n"
              "&amp;amp;amp;\n"
              "</code></pre></div>"
          )
      else:
          expected = (
              '<pre class="codehilite"><code class="language-text">&amp;\n'
              "&amp;amp;\n"
              "&amp;amp;amp;\n"
              "</code></pre>"
          )
      self.assertMarkdownRenders(
          ("\t:::text\n" "\t&\n" "\t&amp;\n" "\t&amp;amp;"),
          expected,
          extensions=["codehilite"],
      )
  
imports: from markdown.test_tools import TestCase
  from markdown.extensions.codehilite import CodeHiliteExtension, CodeHilite
  from markdown import extensions, treeprocessors
  import os
  import xml.etree.ElementTree
label_desc: Use image node_id 14 for calling the TestCodeHiliteExtension obj's underlying member method code with example usage: obj.testHighlightAmps() without return types