code: def test_kwargs_resampling(tiffs):
      with rasterio.open(str(tiffs.join("rgb_ndv.tif"))) as src:
          other = (
              src.dataset_mask(
                  out_shape=(1, 5, 5), resampling=Resampling.bilinear
              )
              != 0
          )
          other = other.astype(np.uint8) * 255
          assert np.array_equal(resampave, other)
  
file_path: rasterio/tests/test_dataset_mask.py
imports: from affine import Affine
  import numpy
  import pytest
  from affine import Affine
  import rasterio
  from rasterio.enums import Resampling
  from rasterio.errors import NodataShadowWarning
  from rasterio.crs import CRS
label_desc: Use image node_id 11 for calling a global function with example usage: test_kwargs_resampling(tiffs) without return types