def test_transform_bounds_no_change():
    with Env():
        with rasterio.open('tests/data/RGB.byte.tif') as src:
            l, b, r, t = src.bounds
            assert numpy.allclose(
                transform_bounds(src.crs, src.crs, l, b, r, t),
                src.bounds
            )
Make sure that going from and to the same crs causes no change
dataset/ETHPy150Open mapbox/rasterio/tests/test_warp.py/test_transform_bounds_no_change