code: def test_escaped_code(self):
      self.assertMarkdownRenders(
          self.dedent(
              """
                  [TOC]
  
                  # `<test>`
                  """
          ),
          self.dedent(
              """
                  <div class="toc">
                  <ul>
                  <li><a href="#test">&lt;test&gt;</a></li>
                  </ul>
                  </div>
                  <h1 id="test"><code>&lt;test&gt;</code></h1>
                  """
          ),
          extensions=["toc"],
      )
  
imports: from markdown.test_tools import TestCase
  from markdown.extensions.toc import TocExtension
  from markdown.extensions.nl2br import Nl2BrExtension
label_desc: Use image node_id 13 for calling the TestTOC obj's underlying member method code with example usage: obj.test_escaped_code() without return types