code: def test_gdal_transform_fail_src_crs():
      with pytest.raises(CRSError):
          _calculate_default_transform(
              "+proj=foobar",
              {"init": "epsg:32610"},
              width=80,
              height=80,
              left=-120,
              bottom=30,
              right=-80,
              top=70,
          )
  
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 10 for calling a global function with example usage: test_gdal_transform_fail_src_crs() without return types