code: def test_replaced_by_expired(self):
      c = ConfigOption(
          "mysection.oldName",
          description="My old description",
          replaced_by="mysection.newName",
          expiration_date="2000-01-01",
      )
  
      self.assertTrue(c.deprecated)
      self.assertTrue(c.is_expired())
  
file_path: streamlit/lib/tests/streamlit/config_option_test.py
imports: import unittest
  import pytest
  from parameterized import parameterized
  from streamlit.config_option import ConfigOption, DeprecationError
label_desc: Use image node_id 11 for calling the ConfigOptionTest obj's underlying member method code with example usage: obj.test_replaced_by_expired() without return types