code: def test_warp_vrt_gcps(runner, tmpdir):
      """A VRT with GCPs can be warped."""
      srcname = "tests/data/white-gemini-iv.vrt"
      outputname = str(tmpdir.join("test.tif"))
      result = runner.invoke(
          main_group,
          ["warp", srcname, outputname, "--dst-crs", "epsg:32618"],
      )
      assert result.exit_code == 0
  
      # All 4 corners have no data.
      with rasterio.open(outputname) as src:
          data = src.read()
          assert not data[:, 0, 0].any()
          assert not data[:, 0, -1].any()
          assert not data[:, -1, -1].any()
          assert not data[:, -1, 0].any()
  
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 34 for calling a global function with example usage: test_warp_vrt_gcps(runner, tmpdir) without return types