code: def test_issue1131():
      """Confirm that we don't run out of memory"""
      transform, w, h = calculate_default_transform(
          CRS.from_epsg(4326),
          CRS.from_epsg(3857),
          455880,
          454450,
          13.0460235139,
          42.6925552354,
          13.2511695428,
          42.8970561511,
      )
      assert (w, h) == (381595, 518398)
  
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 20 for calling a global function with example usage: test_issue1131() without return types