code: def test_windows_path():
      with mock.patch("sys.platform", "win32"):
          assert _is_local_windows_path("c:/some/where")
          assert _is_local_windows_path("c:\\some\\where")
          assert _is_local_windows_path("c:\\some\\where/mixed")
  
file_path: ray/python/ray/data/tests/test_file_based_datasource.py
imports: import os
  from typing import Iterator
  from unittest import mock
  import pyarrow
  import pytest
  import ray
  from ray.data._internal.delegating_block_builder import DelegatingBlockBuilder
  from ray.data.block import Block
  from ray.data.datasource.file_based_datasource import OPEN_FILE_MAX_ATTEMPTS, FileBasedDatasource, _open_file_with_retry
  from ray.data.datasource.path_util import _is_local_windows_path
label_desc: Use image node_id 6 for calling a global function with example usage: test_windows_path() without return types