

def test_warp_reproject_bounds_res_future_warning(runner, tmpdir):
    'Use of --bounds results in a warning from the 1.0 future.'
    srcname = 'tests/data/shade.tif'
    outputname = str(tmpdir.join('test.tif'))
    out_bounds = [(- 11850000), 4810000, (- 11849000), 4812000]
    result = out_bounds.invoke(warp.warp, ([srcname, outputname, '--dst-crs', 'EPSG:4326', '--res', 0.001, '--bounds'] + out_bounds))
    assert ('Future Warning' in result.output)

dataset/ETHPy150Open mapbox/rasterio/tests/test_rio_warp.py test_warp_reproject_bounds_res_future_warning/VarMisuse@50/108 `runner`->`out_bounds`