code: def test_geostationary_operation__invalid_sweep():
      with pytest.raises(CRSError):
          GeostationarySatelliteConversion(
              sweep_angle_axis="P", satellite_height=10
          )
  
imports: import pytest
  from numpy.testing import assert_almost_equal
  from pyproj.crs import GeographicCRS
  from pyproj.crs.coordinate_operation import AlbersEqualAreaConversion, AzimuthalEquidistantConversion, EquidistantCylindricalConversion, GeostationarySatelliteConversion, HotineObliqueMercatorBConversion, LambertAzimuthalEqualAreaConversion, LambertConformalConic1SPConversion, LambertConformalConic2SPConversion, LambertCylindricalEqualAreaConversion, LambertCylindricalEqualAreaScaleConversion, MercatorAConversion, MercatorBConversion, OrthographicConversion, PlateCarreeConversion, PolarStereographicAConversion, PolarStereographicBConversion, PoleRotationNetCDFCFConversion, RotatedLatitudeLongitudeConversion, SinusoidalConversion, StereographicConversion, ToWGS84Transformation, TransverseMercatorConversion, UTMConversion, VerticalPerspectiveConversion
  from pyproj.exceptions import CRSError
label_desc: Use image node_id 8 for calling a global function with example usage: test_geostationary_operation__invalid_sweep() without return types