class_docstr: Test ability to marshall radio protos.
class_docstr_tok: ["Test","ability","to","marshall","radio","protos","."]
docstr: Test that it works correctly inside of a column.
docstr_tok: ["Test","that","it","works","correctly","inside","of","a","column","."]
code: def test_inside_column(self):
      """Test that it works correctly inside of a column."""
      col1, col2 = st.columns(2)
  
      with col1:
          st.radio("foo", ["bar", "baz"])
  
      all_deltas = self.get_all_deltas_from_queue()
  
      # 4 elements will be created: 1 horizontal block, 2 columns, 1 widget
      self.assertEqual(len(all_deltas), 4)
      radio_proto = self.get_delta_from_queue().new_element.radio
  
      self.assertEqual(radio_proto.label, "foo")
      self.assertEqual(radio_proto.options, ["bar", "baz"])
      self.assertEqual(radio_proto.default, 0)
  
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 16 for calling the RadioTest obj's underlying member method code with example usage: obj.test_inside_column() without return types