code: def test_check_pyarrow_version_bounds(unsupported_pyarrow_version):
      # Test that pyarrow versions outside of the defined bounds cause an ImportError to
      # be raised.
      with pytest.raises(ImportError):
          _check_pyarrow_version()
  
file_path: ray/python/ray/data/tests/test_util.py
imports: import time
  from typing import Any, Dict, Optional
  from unittest.mock import patch
  import numpy
  import pytest
  import ray
  from ray.data._internal.logical.operators.read_operator import Read
  from ray.data._internal.memory_tracing import leak_report, trace_allocation, trace_deallocation
  from ray.data._internal.util import _check_pyarrow_version, _split_list
  from ray.data.datasource.parquet_datasource import ParquetDatasource
  from ray.data.tests.conftest import *
label_desc: Use image node_id 1 for calling a global function with example usage: test_check_pyarrow_version_bounds(unsupported_pyarrow_version) without return types