code: def test_autoattribute_typed_variable_in_alias(app):
      actual = do_autodoc(
          app, "attribute", "target.typed_vars.Alias.attr2"
      )
      assert list(actual) == [
          "",
          ".. py:attribute:: Alias.attr2",
          "   :module: target.typed_vars",
          "   :type: int",
          "",
      ]
  
file_path: sphinx/tests/test_extensions/test_ext_autodoc_autoattribute.py
imports: import pytest
  from tests.test_extensions.test_ext_autodoc import do_autodoc
label_desc: Use image node_id 4 for calling a global function with example usage: test_autoattribute_typed_variable_in_alias(app) without return types