code: def test__glyph_receives_renderer_arg(arg, values) -> None:
      for value in values:
          with mock.patch(
              "bokeh.plotting._renderer.GlyphRenderer", autospec=True
          ) as gr_mock:
  
              def foo(**kw):
                  pass
  
              fn = bpd.glyph_method(Marker)(foo)
              fn(figure(), x=0, y=0, **{arg: value})
              _, kwargs = gr_mock.call_args
              assert arg in kwargs and kwargs[arg] == value
  
file_path: bokeh/tests/unit/bokeh/plotting/test__decorators.py
imports: from __future__ import annotations
  import pytest
  from unittest import mock
  from bokeh.models import CDSView, Marker
  from bokeh.plotting import figure
  from bokeh.plotting._renderer import RENDERER_ARGS
  import bokeh.plotting._decorators
label_desc: Use image node_id 1 for calling a global function with example usage: test__glyph_receives_renderer_arg(arg, values) without return types