docstr: If max_size is None, the cache is unbounded.
docstr_tok: ["If","max_size","is","None",",","the","cache","is","unbounded","."]
code: def test_no_max_size(self):
      """If max_size is None, the cache is unbounded."""
      called_values = []
  
      @st.cache(max_entries=None)
      def f(x):
          called_values.append(x)
          return x
  
      # Stick a bunch of items in the cache.
      for ii in range(256):
          f(ii)
  
      # Clear called_values, and test that accessing the same bunch of
      # items doesn't result in f() being called.
      called_values = []
      for ii in range(256):
          f(ii)
      self.assertEqual([], called_values)
  
imports: import threading
  import types
  from unittest.mock import Mock, patch
  from parameterized import parameterized
  import streamlit
  from streamlit.elements import exception
  from streamlit.proto.Exception_pb2 import Exception
  from streamlit.runtime.legacy_caching import caching, hashing
  from tests import testutil
  from tests.delta_generator_test_case import DeltaGeneratorTestCase
label_desc: Use image node_id 10 for calling the CacheTest obj's underlying member method code with example usage: obj.test_no_max_size() and returns: x