code: def test_ellipse_globe():
      globe = ccrs.Globe(ellipse="WGS84")
      with pytest.warns(
          UserWarning, match="does not handle elliptical globes."
      ) as w:
          moll = ccrs.Mollweide(globe=globe)
          assert len(w) == 1
  
      other_args = {"ellps=WGS84", "lon_0=0"}
      check_proj_params("moll", moll, other_args)
  
      # Limits are the same as default since ellipses are not supported.
      assert_allclose(
          moll.x_limits, [-18040095.6961473, 18040095.6961473]
      )
      assert_allclose(
          moll.y_limits, [-9020047.8480736, 9020047.8480736]
      )
  
file_path: cartopy/lib/cartopy/tests/crs/test_mollweide.py
imports: import numpy
  from numpy.testing import assert_allclose
  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