code: def test_eccentric_globe(name, proj, lim):
      globe = ccrs.Globe(
          semimajor_axis=1000, semiminor_axis=500, ellipse=None
      )
      with pytest.warns(
          UserWarning, match="does not handle elliptical globes."
      ) as w:
          eck = proj(globe=globe)
          assert len(w) == 1
  
      other_args = {"a=1000", "b=500", "lon_0=0"}
      check_proj_params(name, eck, other_args)
  
      assert_almost_equal(eck.x_limits, [-lim, lim])
      assert_almost_equal(eck.y_limits, [-lim / 2, lim / 2])
  
file_path: cartopy/lib/cartopy/tests/crs/test_eckert.py
imports: import numpy
  from numpy.testing import assert_almost_equal
  import pytest
  import cartopy.crs
  from .helpers import check_proj_params
label_desc: Use image node_id 4 for calling a global function with example usage: test_eccentric_globe(name, proj, lim) without return types