code: def test_multi_line_copyright(source_date_year, app, monkeypatch):
      app.build(force_all=True)
  
      content = (app.outdir / "index.html").read_text(encoding="utf-8")
  
      if source_date_year is None:
          # check the copyright footer line by line (empty lines ignored)
          assert "  &#169; Copyright 2006.<br/>\n" in content
          assert (
              "  &#169; Copyright 2006-2009, Alice.<br/>\n" in content
          )
          assert "  &#169; Copyright 2010-2013, Bob.<br/>\n" in content
          assert (
              "  &#169; Copyright 2014-2017, Charlie.<br/>\n" in content
          )
          assert (
              "  &#169; Copyright 2018-2021, David.<br/>\n" in content
          )
          assert "  &#169; Copyright 2022-2025, Eve." in content
  
          # check the raw copyright footer block (empty lines included)
          assert (
              "      &#169; Copyright 2006.<br/>\n"
              "    \n"
              "      &#169; Copyright 2006-2009, Alice.<br/>\n"
              "    \n"
              "      &#169; Copyright 2010-2013, Bob.<br/>\n"
              "    \n"
              "      &#169; Copyright 2014-2017, Charlie.<br/>\n"
              "    \n"
              "      &#169; Copyright 2018-2021, David.<br/>\n"
              "    \n"
              "      &#169; Copyright 2022-2025, Eve."
          ) in content
      else:
          # check the copyright footer line by line (empty lines ignored)
          assert (
              f"  &#169; Copyright {source_date_year}.<br/>\n"
              in content
          )
          assert (
              f"  &#169; Copyright 2006-{source_date_year}, Alice.<br/>\n"
              in content
          )
          assert (
              f"  &#169; Copyright 2010-{source_date_year}, Bob.<br/>\n"
              in content
          )
          assert (
              f"  &#169; Copyright 2014-{source_date_year}, Charlie.<br/>\n"
              in content
          )
          assert (
              f"  &#169; Copyright 2018-{source_date_year}, David.<br/>\n"
              in content
          )
          assert (
              f"  &#169; Copyright 2022-{source_date_year}, Eve."
              in content
          )
  
          # check the raw copyright footer block (empty lines included)
          assert (
              f"      &#169; Copyright {source_date_year}.<br/>\n"
              f"    \n"
              f"      &#169; Copyright 2006-{source_date_year}, Alice.<br/>\n"
              f"    \n"
              f"      &#169; Copyright 2010-{source_date_year}, Bob.<br/>\n"
              f"    \n"
              f"      &#169; Copyright 2014-{source_date_year}, Charlie.<br/>\n"
              f"    \n"
              f"      &#169; Copyright 2018-{source_date_year}, David.<br/>\n"
              f"    \n"
              f"      &#169; Copyright 2022-{source_date_year}, Eve."
          ) in content
  
imports: import pickle
  import time
  from pathlib import Path
  from unittest import mock
  import pytest
  import sphinx
  from sphinx.builders.gettext import _gettext_compact_validator
  from sphinx.config import ENUM, Config, _Opt, check_confval_types
  from sphinx.deprecation import RemovedInSphinx90Warning
  from sphinx.errors import ConfigError, ExtensionError, VersionRequirementError
label_desc: Use image node_id 32 for calling a global function with example usage: test_multi_line_copyright(source_date_year, app, monkeypatch) without return types