class_docstr: Test ability to marshall bokeh_chart protos.
code: def test_bokeh_version_failure(self):
      with patch("bokeh.__version__", return_value="2.4.0"):
          plot = figure()
          with self.assertRaises(StreamlitAPIException):
              st.bokeh_chart(plot)
  
file_path: streamlit/lib/tests/streamlit/elements/bokeh_test.py
imports: from unittest.mock import patch
  from bokeh.plotting import figure
  import streamlit
  from streamlit.errors import StreamlitAPIException
  from tests.delta_generator_test_case import DeltaGeneratorTestCase
label_desc: Use image node_id 2 for calling the BokehTest obj's underlying member method code with example usage: obj.test_bokeh_version_failure() without return types