code: def test_transform_bounds():
      """CRSError is raised."""
      left, bottom, right, top = (
          -11740727.544603072,
          4852834.0517692715,
          -11584184.510675032,
          5009377.085697309,
      )
      src_crs = "EPSG:3857"
      dst_crs = {"proj": "foobar"}
      with pytest.raises(CRSError):
          transform_bounds(src_crs, dst_crs, left, bottom, right, top)
  
imports: import os
  import logging
  import numpy
  import pytest
  from numpy.testing import assert_almost_equal
  import rasterio
  from rasterio._err import CPLE_BaseError, CPLE_AppDefinedError
  from rasterio._warp import _calculate_default_transform
  from rasterio.control import GroundControlPoint
  from rasterio.crs import CRS
  from rasterio.errors import CRSError
  from rasterio.transform import from_bounds
  from rasterio.warp import calculate_default_transform, transform_bounds
  from tests.conftest import gdal_version
label_desc: Use image node_id 7 for calling a global function with example usage: test_transform_bounds() without return types