code: def test_TabPanel_tooltip() -> None:
      p1 = figure(width=300, height=300)
      panel = TabPanel(
          child=p1,
          title="test panel",
          tooltip=Tooltip(content="test tooltip"),
      )
      assert panel.tooltip is not None
  
file_path: bokeh/tests/unit/bokeh/models/test_layouts__models.py
imports: from __future__ import annotations
  import pytest
  from bokeh.models import ColumnDataSource
  from bokeh.models.ui import Tooltip
  from bokeh.plotting import figure
  from bokeh.models.layouts import Row, Column, LayoutDOM, TabPanel
label_desc: Use image node_id 9 for calling a global function with example usage: test_TabPanel_tooltip() without return types