code: def test_transform_bounds__ignore_inf():
      # Depending on the GDAL version we might get an exception or inf values
      try:
          assert not numpy.isinf(
              transform_bounds(
                  "EPSG:4326",
                  "ESRI:102036",
                  -180.0,
                  -90.0,
                  180.0,
                  0.0,
              )
          ).any()
      except CPLE_BaseError:
          pass
  
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 18 for calling a global function with example usage: test_transform_bounds__ignore_inf() without return types