code: def test_sampling_indexes():
      with rasterio.open("tests/data/RGB.byte.tif") as src:
          data = next(src.sample([(220650.0, 2719200.0)], indexes=[2]))
          assert list(data) == [25]
  
file_path: rasterio/tests/test_sampling.py
imports: import numpy
  import rasterio
label_desc: Use image node_id 8 for calling a global function with example usage: test_sampling_indexes() without return types