code: def test_warp_resampling(runner, path_rgb_byte_tif, tmpdir, method):
      """Resampling methods supported by this version of GDAL should run
      successfully"""
  
      outputname = str(tmpdir.join("test.tif"))
      result = runner.invoke(
          main_group,
          [
              "warp",
              path_rgb_byte_tif,
              outputname,
              "--dst-crs",
              "epsg:3857",
              "--resampling",
              method.name,
          ],
      )
  
      print(result.output)
      assert result.exit_code == 0
  
imports: import os
  import affine
  import numpy
  import pytest
  import rasterio
  from rasterio.warp import SUPPORTED_RESAMPLING
  from rasterio.rio import warp
  from rasterio.rio.main import main_group
label_desc: Use image node_id 35 for calling a global function with example usage: test_warp_resampling(runner, path_rgb_byte_tif, tmpdir, method) without return types