code: def test_ellipse_globe():
      globe = ccrs.Globe(ellipse="WGS84")
      with pytest.warns(
          UserWarning, match="does not handle elliptical globes."
      ) as w:
          gnom = ccrs.Gnomonic(globe=globe)
          assert len(w) == 1
  
      other_args = {"ellps=WGS84", "lon_0=0.0", "lat_0=0.0"}
      check_proj_params("gnom", gnom, other_args)
  
      # Limits are the same as default since ellipses are not supported.
      assert_almost_equal(gnom.x_limits, [-5e7, 5e7])
      assert_almost_equal(gnom.y_limits, [-5e7, 5e7])
  
file_path: cartopy/lib/cartopy/tests/crs/test_gnomonic.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 3 for calling a global function with example usage: test_ellipse_globe() without return types