code: def test_read_boundless_noshift():
      with rasterio.open("tests/data/rgb4.tif") as src:
          # the read offsets should be determined by start col/row alone
          # when col stop exceeds image width
          c1 = src.read(
              boundless=True, window=((100, 101), (-1, src.shape[1]))
          )[0, 0, 0:9]
          c2 = src.read(
              boundless=True,
              window=((100, 101), (-1, src.shape[1] + 1)),
          )[0, 0, 0:9]
          assert np.array_equal(c1, c2)
  
          # when row stop exceeds image height
          r1 = src.read(
              boundless=True, window=((-1, src.shape[0]), (100, 101))
          )[0, 0, 0:9]
          r2 = src.read(
              boundless=True,
              window=((-1, src.shape[0] + 1), (100, 101)),
          )[0, 0, 0:9]
          assert np.array_equal(r1, r2)
  
imports: import numpy
  import pytest
  import rasterio
  from rasterio.enums import Resampling
  from rasterio.windows import Window
label_desc: Use image node_id 14 for calling a global function with example usage: test_read_boundless_noshift() without return types