code: def test_autodoc_typehints_none(app):
      options = {"members": None, "undoc-members": None}
      actual = do_autodoc(app, "module", "target.typehints", options)
      assert list(actual) == [
          "",
          ".. py:module:: target.typehints",
          "",
          "",
          ".. py:data:: CONST1",
          "   :module: target.typehints",
          "",
          "",
          ".. py:data:: CONST2",
          "   :module: target.typehints",
          "   :value: 1",
          "",
          "   docstring",
          "",
          "",
          ".. py:data:: CONST3",
          "   :module: target.typehints",
          "   :value: PurePosixPath('/a/b/c')",
          "",
          "   docstring",
          "",
          "",
          ".. py:class:: Math(s, o=None)",
          "   :module: target.typehints",
          "",
          "",
          "   .. py:attribute:: Math.CONST1",
          "      :module: target.typehints",
          "",
          "",
          "   .. py:attribute:: Math.CONST2",
          "      :module: target.typehints",
          "      :value: 1",
          "",
          "",
          "   .. py:attribute:: Math.CONST3",
          "      :module: target.typehints",
          "      :value: PurePosixPath('/a/b/c')",
          "",
          "",
          "   .. py:method:: Math.decr(a, b=1)",
          "      :module: target.typehints",
          "",
          "",
          "   .. py:method:: Math.horse(a, b)",
          "      :module: target.typehints",
          "",
          "",
          "   .. py:method:: Math.incr(a, b=1)",
          "      :module: target.typehints",
          "",
          "",
          "   .. py:method:: Math.nothing()",
          "      :module: target.typehints",
          "",
          "",
          "   .. py:property:: Math.path",
          "      :module: target.typehints",
          "",
          "",
          "   .. py:property:: Math.prop",
          "      :module: target.typehints",
          "",
          "",
          ".. py:class:: NewAnnotation(i)",
          "   :module: target.typehints",
          "",
          "",
          ".. py:class:: NewComment(i)",
          "   :module: target.typehints",
          "",
          "",
          ".. py:class:: SignatureFromMetaclass(a)",
          "   :module: target.typehints",
          "",
          "",
          ".. py:class:: T",
          "   :module: target.typehints",
          "",
          "   docstring",
          "",
          "   alias of TypeVar('T', bound=\\ :py:class:`~pathlib.PurePosixPath`)",
          "",
          "",
          ".. py:function:: complex_func(arg1, arg2, arg3=None, *args, **kwargs)",
          "   :module: target.typehints",
          "",
          "",
          ".. py:function:: decr(a, b=1)",
          "   :module: target.typehints",
          "",
          "",
          ".. py:function:: incr(a, b=1)",
          "   :module: target.typehints",
          "",
          "",
          ".. py:function:: missing_attr(c, a, b=None)",
          "   :module: target.typehints",
          "",
          "",
          ".. py:function:: tuple_args(x)",
          "   :module: target.typehints",
          "",
      ]
  
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 16 for calling a global function with example usage: test_autodoc_typehints_none(app) without return types