code: def test_gis_type_sanitization(
      name: str, type_code: int, geo: Any, expected: Any
  ) -> None:
      # Hack to silence erroneous mypy errors
      def die(any: Any) -> Callable[[Any], Any]:
          pytest.fail(f"no sanitizer for type code {type_code}")
          raise AssertionError()
  
      type_sanitizer = _sanitized_ocient_type_codes.get(type_code, die)
      actual = type_sanitizer(geo)
      assert expected == actual
  
file_path: superset/tests/unit_tests/db_engine_specs/test_ocient.py
imports: from typing import Any, Callable
  import pytest
  from superset.db_engine_specs.ocient import _point_list_to_wkt, _sanitized_ocient_type_codes
  from superset.errors import ErrorLevel, SupersetError, SupersetErrorType
label_desc: Use image node_id 4 for calling a global function with example usage: test_gis_type_sanitization(name, type_code, geo, expected) without return types