class_docstr: Test ability to marshall radio protos.
class_docstr_tok: ["Test","ability","to","marshall","radio","protos","."]
docstr: Test that it can be called with some captions.
docstr_tok: ["Test","that","it","can","be","called","with","some","captions","."]
code: def test_some_captions(self):
      """Test that it can be called with some captions."""
      st.radio(
          "the label",
          ("option1", "option2", "option3", "option4"),
          captions=("first caption", None, "", "last caption"),
      )
  
      c = self.get_delta_from_queue().new_element.radio
      self.assertEqual(c.label, "the label")
      self.assertEqual(c.default, 0)
      self.assertEqual(
          c.captions, ["first caption", "", "", "last caption"]
      )
  
imports: from unittest.mock import MagicMock, patch
  import numpy
  import pandas
  import pytest
  from parameterized import parameterized
  import streamlit
  from streamlit.errors import StreamlitAPIException
  from streamlit.proto.LabelVisibilityMessage_pb2 import LabelVisibilityMessage
  from streamlit.testing.v1.app_test import AppTest
  from streamlit.testing.v1.util import patch_config_options
  from tests.delta_generator_test_case import DeltaGeneratorTestCase
label_desc: Use image node_id 20 for calling the RadioTest obj's underlying member method code with example usage: obj.test_some_captions() without return types