code: def test_set_yticks_non_cylindrical():
      ax = plt.axes(projection=ccrs.Orthographic())
      with pytest.raises(RuntimeError):
          ax.set_yticks([-60, -30, 0, 30, 60], crs=ccrs.Geodetic())
      with pytest.raises(RuntimeError):
          ax.set_yticks(
              [-75, -45, -15, 15, 45, 75],
              minor=True,
              crs=ccrs.Geodetic(),
          )
  
file_path: cartopy/lib/cartopy/tests/mpl/test_ticks.py
imports: import matplotlib.pyplot
  import pytest
  import cartopy.crs
  from cartopy.mpl.ticker import LatitudeFormatter, LongitudeFormatter
label_desc: Use image node_id 6 for calling a global function with example usage: test_set_yticks_non_cylindrical() without return types