code: def test_license_set() -> None:
      """Ensure the top-level repo LICENSES.txt always matches the copy in
      the Python package folder (needed there when generating packages).
  
      """
      chdir(TOP_PATH)
      proc = run(
          ["diff", "LICENSE.txt", join("src", "bokeh", "LICENSE.txt")],
          capture_output=True,
      )
      assert (
          proc.returncode == 0
      ), f"LICENSE.txt mismatch:\n{proc.stdout.decode('utf-8')}"
  
file_path: bokeh/tests/codebase/test_license.py
imports: from __future__ import annotations
  import pytest
  import sys
  from os import chdir
  from os.path import join
  from subprocess import run
  from tests.support.util.project import TOP_PATH
label_desc: Use image node_id 1 for calling a global function with example usage: test_license_set() without return types