code: def test_legend_item_with_value_label_and_different_data_sources_does_not_raise_a_validation_error() -> (
      None
  ):
      legend_item = LegendItem()
      gr_1 = GlyphRenderer(data_source=ColumnDataSource())
      gr_2 = GlyphRenderer(data_source=ColumnDataSource())
      legend_item.label = value("label")
      legend_item.renderers = [gr_1, gr_2]
      with mock.patch("bokeh.core.validation.check.log") as mock_logger:
          issues = check_integrity([legend_item])
          process_validation_issues(issues)
          assert mock_logger.error.call_count == 0
  
imports: from __future__ import annotations
  import pytest
  from datetime import datetime
  from unittest import mock
  from bokeh.core.properties import field, value
  from bokeh.core.validation import check_integrity, process_validation_issues
  from bokeh.models import Arrow, ArrowHead, Band, BoxAnnotation, ColorBar, ColumnDataSource, GlyphRenderer, Label, LabelSet, Legend, LegendItem, LinearColorMapper, Node, PolyAnnotation, Slope, Span, Title, Whisker
  from bokeh.util.serialization import convert_datetime_type
  from _util_models import ABOVE_FILL, ABOVE_HATCH, ANGLE, BELOW_FILL, BELOW_HATCH, FILL, HATCH, HOVER_FILL, HOVER_HATCH, HOVER_LINE, LINE, TEXT, check_fill_properties, check_hatch_properties, check_line_properties, check_properties_existence, check_text_properties, prefix
label_desc: Use image node_id 21 for calling a global function with example usage: test_legend_item_with_value_label_and_different_data_sources_does_not_raise_a_validation_error() without return types