class_docstr: Test ability to marshall subheader protos.
docstr: Test st.subheader with invalid anchor.
docstr_tok: ["Test","st.subheader","with","invalid","anchor","."]
code: def test_st_subheader_with_invalid_anchor(self):
      """Test st.subheader with invalid anchor."""
      with pytest.raises(StreamlitAPIException):
          st.subheader("some header", anchor=True)
  
imports: import pytest
  import streamlit
  from streamlit.errors import StreamlitAPIException
  from tests.delta_generator_test_case import DeltaGeneratorTestCase
label_desc: Use image node_id 4 for calling the StSubheaderTest obj's underlying member method code with example usage: obj.test_st_subheader_with_invalid_anchor() without return types