code: def test_autosectionlabel_html(
      app, status, warning, skipped_labels=False
  ):
      app.build(force_all=True)
  
      content = (app.outdir / "index.html").read_text(encoding="utf8")
      html = (
          '<li><p><a class="reference internal" href="#introduce-of-sphinx">'
          '<span class=".*?">Introduce of Sphinx</span></a></p></li>'
      )
      assert re.search(html, content, re.S)
  
      html = (
          '<li><p><a class="reference internal" href="#installation">'
          '<span class="std std-ref">Installation</span></a></p></li>'
      )
      assert re.search(html, content, re.S)
  
      html = (
          '<li><p><a class="reference internal" href="#for-windows-users">'
          '<span class="std std-ref">For Windows users</span></a></p></li>'
      )
      assert re.search(html, content, re.S)
  
      html = (
          '<li><p><a class="reference internal" href="#for-unix-users">'
          '<span class="std std-ref">For UNIX users</span></a></p></li>'
      )
      assert re.search(html, content, re.S)
  
      html = (
          '<li><p><a class="reference internal" href="#linux">'
          '<span class="std std-ref">Linux</span></a></p></li>'
      )
      assert re.search(html, content, re.S)
  
      html = (
          '<li><p><a class="reference internal" href="#freebsd">'
          '<span class="std std-ref">FreeBSD</span></a></p></li>'
      )
      assert re.search(html, content, re.S)
  
      # for smart_quotes (refs: #4027)
      html = (
          '<li><p><a class="reference internal" '
          'href="#this-one-s-got-an-apostrophe">'
          '<span class="std std-ref">This one’s got an apostrophe'
          "</span></a></p></li>"
      )
      assert re.search(html, content, re.S)
  
imports: import re
  import pytest
label_desc: Use image node_id 1 for calling a global function with example usage: test_autosectionlabel_html(app, status, warning, skipped_labels) without return types