code: def test_zero_version(monkeypatch: pytest.MonkeyPatch) -> None:
      monkeypatch.setattr(bup, "__version__", "0.0.0")
      errors = bup.validate()
      assert "Invalid version 0.0.0" in errors
  
      errors = bup.validate(version=None)
      assert "Invalid version 0.0.0" 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 1 for calling a global function with example usage: test_zero_version(monkeypatch) without return types