code: def test_deprecated_expired(self):
      my_value = "myValue"
      where_defined = "im defined here"
  
      key = "mysection.myName"
  
      c = ConfigOption(
          key,
          deprecated=True,
          deprecation_text="dep text",
          expiration_date="2000-01-01",
      )
  
      with self.assertRaises(DeprecationError):
          c.set_value(my_value, where_defined)
  
      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 8 for calling the ConfigOptionTest obj's underlying member method code with example usage: obj.test_deprecated_expired() without return types