code: def test_assert_msg_funcs(self) -> None:
      hp = HasProps()
      p = bcpb.Property()
  
      def raise_(ex):
          raise ex
  
      p.asserts(
          False,
          lambda obj, name, value: raise_(
              ValueError(f"bad {hp==obj} {name} {value}")
          ),
      )
  
      with pytest.raises(ValueError) as e:
          p.prepare_value(hp, "foo", 10)
          assert str(e) == "bad True name, 10"
  
imports: from __future__ import annotations
  import pytest
  from typing import Any
  from unittest.mock import MagicMock, patch
  import numpy
  import pandas
  from bokeh.core.has_props import HasProps
  from tests.support.util.api import verify_all
  from tests.support.util.types import Capture
  import bokeh.core.property.bases
label_desc: Use image node_id 5 for calling the TestProperty obj's underlying member method code with example usage: obj.test_assert_msg_funcs() without return types