code: def test_gs_install_locations():
      # pylint: disable=import-outside-toplevel
      from ocrmypdf.subprocess._windows import _gs_version_in_path_key
  
      assert _gs_version_in_path_key(
          Path("C:\\Program Files\\gs\\gs9.52\\bin")
      ) == (
          "gs",
          Version("9.52"),
      )
  
imports: from __future__ import annotations
  import logging
  import multiprocessing
  import os
  from pathlib import Path
  from unittest.mock import MagicMock
  import pytest
  from packaging.version import Version
  from ocrmypdf import helpers
  from .conftest import running_in_docker
label_desc: Use image node_id 2 for calling a global function with example usage: test_gs_install_locations() without return types