code: def test_since_bad_tuple() -> None:
      with pytest.raises(ValueError):
          dep.deprecated((1,), old="foo", new="bar")
      with pytest.raises(ValueError):
          dep.deprecated((1, 2), old="foo", new="bar")
      with pytest.raises(ValueError):
          dep.deprecated((1, 2, 3, 4), old="foo", new="bar")
      with pytest.raises(ValueError):
          dep.deprecated((1, 2, -4), old="foo", new="bar")
      with pytest.raises(ValueError):
          dep.deprecated((1, 2, "3"), old="foo", new="bar")
  
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 5 for calling a global function with example usage: test_since_bad_tuple() without return types