code: def test_autoclass_content_and_docstring_signature_init(app):
      app.config.autoclass_content = "init"
      options = {"members": None, "undoc-members": None}
      actual = do_autodoc(
          app, "module", "target.docstring_signature", options
      )
      assert list(actual) == [
          "",
          ".. py:module:: target.docstring_signature",
          "",
          "",
          ".. py:class:: A(foo, bar)",
          "   :module: target.docstring_signature",
          "",
          "",
          ".. py:class:: B(foo, bar, baz)",
          "   :module: target.docstring_signature",
          "",
          "",
          ".. py:class:: C(foo, bar, baz)",
          "   :module: target.docstring_signature",
          "",
          "",
          ".. py:class:: D(foo, bar, baz)",
          "   :module: target.docstring_signature",
          "",
          "",
          ".. py:class:: E(foo: int, bar: int, baz: int)",
          "              E(foo: str, bar: str, baz: str)",
          "              E(foo: float, bar: float, baz: float)",
          "   :module: target.docstring_signature",
          "",
          "",
          ".. py:class:: F(foo: int, bar: int, baz: int)",
          "              F(foo: str, bar: str, baz: str)",
          "              F(foo: float, bar: float, baz: float)",
          "   :module: target.docstring_signature",
          "",
      ]
  
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 12 for calling a global function with example usage: test_autoclass_content_and_docstring_signature_init(app) without return types