code: def test_resampling_rms():
      """Test Resampling.rms method"""
      with rasterio.open("tests/data/float.tif") as s:
          out_shape = (2, 2)
          rms = s.read(
              1, out_shape=out_shape, resampling=Resampling.rms
          )
          expected = np.array(
              [[1.35266399, 0.95388681], [0.29308701, 1.54074657]],
              dtype=np.float32,
          )
          assert np.allclose(rms, expected)
  
file_path: rasterio/tests/test_read_resample.py
imports: import numpy
  import pytest
  import rasterio
  from rasterio.enums import Resampling
  from rasterio.errors import ResamplingAlgorithmError
  from rasterio.windows import Window
  from .conftest import requires_gdal33
label_desc: Use image node_id 8 for calling a global function with example usage: test_resampling_rms() without return types