code: def test_get_set_idle_state_rentention(self):
      table_config = TableConfig.get_default()
  
      table_config.set_idle_state_retention(datetime.timedelta(days=1))
  
      self.assertEqual(
          datetime.timedelta(days=1),
          table_config.get_idle_state_retention(),
      )
  
file_path: flink/flink-python/pyflink/table/tests/test_table_config.py
imports: import datetime
  from pyflink.common import Configuration
  from pyflink.table import TableConfig, SqlDialect
  from pyflink.testing.test_case_utils import PyFlinkTestCase
label_desc: Use image node_id 2 for calling the TableConfigTests obj's underlying member method code with example usage: obj.test_get_set_idle_state_rentention() without return types