docstr: Test the various types of input that ttl_to_seconds accepts.
docstr_tok: ["Test","the","various","types","of","input","that","ttl_to_seconds","accepts","."]
code: def test_ttl_to_seconds_coerced(
      self, _, input_value: Any, expected_seconds: float
  ):
      """Test the various types of input that ttl_to_seconds accepts."""
      self.assertEqual(expected_seconds, ttl_to_seconds(input_value))
  
file_path: streamlit/lib/tests/streamlit/runtime/caching/cache_utils_test.py
imports: import math
  import unittest
  from datetime import timedelta
  from typing import Any
  from parameterized import parameterized
  from streamlit.runtime.caching.cache_errors import BadTTLStringError
  from streamlit.runtime.caching.cache_utils import ttl_to_seconds
label_desc: Use image node_id 1 for calling the CacheUtilsTest obj's underlying member method code with example usage: obj.test_ttl_to_seconds_coerced(_, input_value, expected_seconds) without return types