class_docstr: Test ability to marshall arrow_vega_lite_chart protos.
class_docstr_tok: ["Test","ability","to","marshall","arrow_vega_lite_chart","protos","."]
code: def test_bad_theme(self):
      with self.assertRaises(StreamlitAPIException) as exc:
          st.altair_chart(df1, theme="bad_theme")
  
      self.assertEqual(
          f'You set theme="bad_theme" while Streamlit charts only support theme=”streamlit” or theme=None to fallback to the default library theme.',
          str(exc.exception),
      )
  
imports: import json
  import pandas
  import pyarrow
  from parameterized import parameterized
  import streamlit
  from streamlit.errors import StreamlitAPIException
  from streamlit.type_util import bytes_to_data_frame, pyarrow_table_to_bytes
  from tests.delta_generator_test_case import DeltaGeneratorTestCase
label_desc: Use image node_id 15 for calling the ArrowVegaLiteTest obj's underlying member method code with example usage: obj.test_bad_theme() without return types