code: def test_warp_reproject_nolostdata(runner, tmpdir):
      srcname = "tests/data/world.byte.tif"
      outputname = str(tmpdir.join("test.tif"))
      result = runner.invoke(
          main_group,
          ["warp", srcname, outputname, "--dst-crs", "EPSG:3857"],
      )
      assert result.exit_code == 0
      assert os.path.exists(outputname)
  
      with rasterio.open(outputname) as output:
          arr = output.read()
          # 50 column swath on the right edge should have some ones (gdalwarped has 7223)
          assert arr[0, :, -50:].sum() > 7000
          assert output.crs.to_epsg() == 3857
  
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 29 for calling a global function with example usage: test_warp_reproject_nolostdata(runner, tmpdir) without return types