code: def test_eccentric_globe():
      globe = ccrs.Globe(
          semimajor_axis=10000, semiminor_axis=5000, ellipse=None
      )
      crs = ccrs.Mercator(
          globe=globe, min_latitude=-40, max_latitude=40
      )
      other_args = {
          "a=10000",
          "b=5000",
          "lon_0=0.0",
          "x_0=0.0",
          "y_0=0.0",
          "units=m",
      }
      check_proj_params("merc", crs, other_args)
  
      assert_almost_equal(
          crs.boundary.bounds,
          [-31415.93, -2190.5, 31415.93, 2190.5],
          decimal=2,
      )
  
      assert_almost_equal(
          crs.x_limits, [-31415.93, 31415.93], decimal=2
      )
      assert_almost_equal(crs.y_limits, [-2190.5, 2190.5], decimal=2)
  
file_path: cartopy/lib/cartopy/tests/crs/test_mercator.py
imports: from numpy.testing import assert_almost_equal
  import pytest
  import cartopy.crs
  from .helpers import check_proj_params
label_desc: Use image node_id 2 for calling a global function with example usage: test_eccentric_globe() without return types