code: def test_transform_bounds_densify_out_of_bounds__geographic_output():
      error = ValueError
      if gdal_version.at_least("3.4"):
          error = CPLE_AppDefinedError
      with pytest.raises(error):
          transform_bounds(
              "+proj=laea +lat_0=45 +lon_0=-100 +x_0=0 +y_0=0 "
              "+a=6370997 +b=6370997 +units=m +no_defs",
              "EPSG:4326",
              -120,
              40,
              -80,
              64,
              densify_pts=-1,
          )
  
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 15 for calling a global function with example usage: test_transform_bounds_densify_out_of_bounds__geographic_output() without return types