code: def test_autodoc_typehints_description_with_documented_init(app):
      with overwrite_file(
          app.srcdir / "index.rst",
          ".. autoclass:: target.typehints._ClassWithDocumentedInit\n"
          "   :special-members: __init__\n",
      ):
          app.build()
      context = (app.outdir / "index.txt").read_text(encoding="utf8")
      assert context == (
          "class target.typehints._ClassWithDocumentedInit(x, *args, **kwargs)\n"
          "\n"
          "   Class docstring.\n"
          "\n"
          "   Parameters:\n"
          "      * **x** (*int*) --\n"
          "\n"
          "      * **args** (*int*) --\n"
          "\n"
          "      * **kwargs** (*int*) --\n"
          "\n"
          "   __init__(x, *args, **kwargs)\n"
          "\n"
          "      Init docstring.\n"
          "\n"
          "      Parameters:\n"
          "         * **x** (*int*) -- Some integer\n"
          "\n"
          "         * **args** (*int*) -- Some integer\n"
          "\n"
          "         * **kwargs** (*int*) -- Some integer\n"
          "\n"
          "      Return type:\n"
          "         None\n"
      )
  
imports: import platform
  import sys
  from contextlib import contextmanager
  import pytest
  from sphinx.testing import restructuredtext
  from tests.test_extensions.test_ext_autodoc import do_autodoc
label_desc: Use image node_id 21 for calling a global function with example usage: test_autodoc_typehints_description_with_documented_init(app) without return types