code: def test_resolution_dimensions_exclusivity():
      """resolution and dimensions parameters are mutually exclusive"""
      with pytest.raises(ValueError):
          calculate_default_transform(
              "epsg:4326",
              "epsg:3857",
              width=1,
              height=1,
              gcps=[1],
              resolution=1,
              dst_width=1,
              dst_height=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 2 for calling a global function with example usage: test_resolution_dimensions_exclusivity() without return types