code: def test_local_paths(ray_start_regular_shared, tmp_path):
      path = os.path.join(tmp_path, "test.txt")
      with open(path, "w"):
          pass
  
      datasource = MockFileBasedDatasource(path)
      assert datasource.supports_distributed_reads
  
      datasource = MockFileBasedDatasource(f"local://{path}")
      assert not datasource.supports_distributed_reads
  
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 1 for calling a global function with example usage: test_local_paths(ray_start_regular_shared, tmp_path) without return types