code: def test_decorators(app):
      actual = do_autodoc(app, "class", "target.decorator.Baz")
      assert list(actual) == [
          "",
          ".. py:class:: Baz(name=None, age=None)",
          "   :module: target.decorator",
          "",
      ]
  
      actual = do_autodoc(app, "class", "target.decorator.Qux")
      assert list(actual) == [
          "",
          ".. py:class:: Qux(name=None, age=None)",
          "   :module: target.decorator",
          "",
      ]
  
      actual = do_autodoc(app, "class", "target.decorator.Quux")
      assert list(actual) == [
          "",
          ".. py:class:: Quux(name=None, age=None)",
          "   :module: target.decorator",
          "",
      ]
  
imports: from __future__ import annotations
  import typing
  from typing import Union
  import pytest
  from tests.test_extensions.test_ext_autodoc import do_autodoc
label_desc: Use image node_id 6 for calling a global function with example usage: test_decorators(app) without return types