code: def test_message(mock_warn: MagicMock) -> None:
      dep.deprecated("test")
      mock_warn.assert_called_once_with(
          "test", dep.BokehDeprecationWarning, stacklevel=3
      )
  
file_path: bokeh/tests/unit/bokeh/util/test_deprecation.py
imports: from __future__ import annotations
  import pytest
  from unittest.mock import MagicMock, patch
  import bokeh.util.deprecation
label_desc: Use image node_id 2 for calling a global function with example usage: test_message(mock_warn) without return types