docstr: Test that only strings are allowed as tab labels.
docstr_tok: ["Test","that","only","strings","are","allowed","as","tab","labels","."]
code: def test_only_label_strings_allowed(self):
      """Test that only strings are allowed as tab labels."""
      with self.assertRaises(StreamlitAPIException):
          st.tabs(["tab1", True])
  
      with self.assertRaises(StreamlitAPIException):
          st.tabs(["tab1", 10])
  
imports: 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 TabsTest obj's underlying member method code with example usage: obj.test_only_label_strings_allowed() without return types