code: def test_version_mismatch_dev_with_given(
      v: str, monkeypatch: pytest.MonkeyPatch
  ) -> None:
      monkeypatch.setattr(bup, "__version__", "0.1.2.dev12")
      errors = bup.validate(version=v)
      assert (
          f"Version mismatch: given version ({v}) != package version ({bup.__version__})"
          in errors
      )
  
file_path: bokeh/tests/unit/bokeh/util/test_package.py
imports: from __future__ import annotations
  import pytest
  from unittest.mock import MagicMock, patch
  import bokeh.util.package
label_desc: Use image node_id 2 for calling a global function with example usage: test_version_mismatch_dev_with_given(v, monkeypatch) without return types