code: def test_create_see_index(app):
      text = (
          ".. index:: see: docutils; reStructuredText\n"
          ".. index:: see: Python; interpreter\n"
          ".. index:: see: Sphinx; documentation tool\n"
      )
      restructuredtext.parse(app, text)
      index = IndexEntries(app.env).create_index(app.builder)
      assert len(index) == 3
      assert index[0] == (
          "D",
          [("docutils", [[], [("see reStructuredText", [])], None])],
      )
      assert index[1] == (
          "P",
          [("Python", [[], [("see interpreter", [])], None])],
      )
      assert index[2] == (
          "S",
          [("Sphinx", [[], [("see documentation tool", [])], None])],
      )
  
file_path: sphinx/tests/test_environment/test_environment_indexentries.py
imports: import pytest
  from sphinx.environment.adapters.indexentries import IndexEntries
  from sphinx.testing import restructuredtext
label_desc: Use image node_id 4 for calling a global function with example usage: test_create_see_index(app) without return types