code: def test_gridliner_draw_labels_param(draw_labels, result):
      fig = plt.figure()
      lambert_crs = ccrs.LambertConformal(central_longitude=105)
      ax = fig.add_subplot(projection=lambert_crs)
      ax.set_extent([75, 130, 18, 54], crs=ccrs.PlateCarree())
      gl = ax.gridlines(
          draw_labels=draw_labels,
          rotate_labels=False,
          dms=True,
          x_inline=False,
          y_inline=False,
      )
      gl.xlocator = mticker.FixedLocator([70, 100, 130])
      gl.ylocator = mticker.FixedLocator([40, 50])
      fig.canvas.draw()
      res = {}
      for loc in "left", "right", "top", "bottom":
          artists = getattr(gl, f"{loc}_label_artists")
          res[loc] = [a.get_text() for a in artists if a.get_visible()]
      assert res == result
  
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 11 for calling a global function with example usage: test_gridliner_draw_labels_param(draw_labels, result) without return types