docstr: `clear` removes cached entries.
docstr_tok: ["`","clear","`","removes","cached","entries","."]
code: def test_clear(self):
      """`clear` removes cached entries."""
      cache = ScriptCache()
      cache.get_bytecode(_get_script_path("good_script.py"))
      self.assertEqual(1, len(cache._cache))
  
      cache.clear()
      self.assertEqual(0, len(cache._cache))
  
file_path: streamlit/lib/tests/streamlit/runtime/scriptrunner/script_cache_test.py
imports: import os.path
  import unittest
  from unittest import mock
  from unittest.mock import Mock
  from streamlit import source_util
  from streamlit.runtime.scriptrunner.script_cache import ScriptCache
label_desc: Use image node_id 3 for calling the ScriptCacheTest obj's underlying member method code with example usage: obj.test_clear() without return types