code: def test_gridplot_merge_toolbar_properties__issue_13265() -> None:
      p1 = figure(active_inspect=None)
      p2 = figure(active_inspect=None)
      p3 = figure(active_inspect=None)
  
      gp0 = gridplot([[p1, p2, p3]], merge_tools=True)
      assert gp0.toolbar.active_inspect is None
  
      gp1 = gridplot([[p1, p2, p3]], merge_tools=False)
      assert gp1.toolbar.active_inspect == "auto"
  
      p4 = figure(active_inspect=None)
      p5 = figure(active_inspect=None)
      p6 = figure(active_inspect="auto")
  
      with pytest.warns(
          UserWarning,
          match="found multiple competing values for 'toolbar.active_inspect' property; using the latest value",
      ):
          gp2 = gridplot([[p4, p5, p6]], merge_tools=True)
      assert gp2.toolbar.active_inspect == "auto"
  
file_path: bokeh/tests/unit/bokeh/test_layouts.py
imports: from __future__ import annotations
  import pytest
  from unittest import mock
  from bokeh.core.validation import check_integrity, process_validation_issues
  from bokeh.layouts import column, grid, gridplot, group_tools, layout, row
  from bokeh.models import BoxAnnotation, BoxSelectTool, Column, GlyphRenderer, GridBox, GridPlot, HoverTool, LayoutDOM, PanTool, Row, SaveTool, Spacer, TapTool, ToolProxy
  from bokeh.plotting import figure
label_desc: Use image node_id 4 for calling a global function with example usage: test_gridplot_merge_toolbar_properties__issue_13265() without return types