def test_reproject_unsupported_resampling():
    with Env():
        with rasterio.open('tests/data/RGB.byte.tif') as src:
            source = src.read(1)

        dst_crs = {'init': 'EPSG:32619'}
        out = numpy.empty(src.shape, dtype=numpy.uint8)
        with pytest.raises(ValueError):
            reproject(
                source,
                out,
                src_transform=src.transform,
                src_crs=src.crs,
                dst_transform=DST_TRANSFORM,
                dst_crs=dst_crs,
                resampling=99)
Values not in enums.Resampling are not supported.
dataset/ETHPy150Open mapbox/rasterio/tests/test_warp.py/test_reproject_unsupported_resampling