code: def __init__(
      self,
      code: str,
      type: str,
      filename: str,
      lineno: int,
      options: dict | None = None,
  ) -> None:
      self.code = code
      self.type = type
      self.filename = filename
      self.lineno = lineno
      self.options = options or {}
  
imports: from __future__ import annotations
  import doctest
  import re
  import sys
  import time
  from io import StringIO
  from os import path
  from typing import TYPE_CHECKING, Any, Callable
  from docutils import nodes
  from docutils.parsers.rst import directives
  from packaging.specifiers import InvalidSpecifier, SpecifierSet
  from packaging.version import Version
  import sphinx
  from sphinx.builders import Builder
  from sphinx.locale import __
  from sphinx.util import logging
  from sphinx.util.console import bold
  from sphinx.util.docutils import SphinxDirective
  from sphinx.util.osutil import relpath
label_desc: Use image node_id 1 to create a new TestCode object  with example: obj = TestCode(code, type, filename, lineno, options)