code: def test_gridliner_specified_lines():
      meridians = [0, 60, 120, 180, 240, 360]
      parallels = [-90, -60, -30, 0, 30, 60, 90]
  
      ax = plt.subplot(1, 1, 1, projection=ccrs.PlateCarree())
      gl = GeoAxes.gridlines(ax, xlocs=meridians, ylocs=parallels)
      assert isinstance(gl.xlocator, mticker.FixedLocator)
      assert isinstance(gl.ylocator, mticker.FixedLocator)
      assert gl.xlocator.tick_values(None, None).tolist() == meridians
      assert gl.ylocator.tick_values(None, None).tolist() == parallels
  
imports: import io
  from unittest import mock
  from matplotlib.collections import PolyCollection
  import matplotlib.pyplot
  import matplotlib.ticker
  import numpy
  import pytest
  from shapely.geos import geos_version
  import cartopy.crs
  from cartopy.mpl import _MPL_36
  from cartopy.mpl.geoaxes import GeoAxes
  from cartopy.mpl.gridliner import LATITUDE_FORMATTER, LONGITUDE_FORMATTER, Gridliner, classic_formatter, classic_locator
  from cartopy.mpl.ticker import LongitudeFormatter, LongitudeLocator
label_desc: Use image node_id 2 for calling a global function with example usage: test_gridliner_specified_lines() without return types