code: def _disable_string_cache() -> Iterator[None]:
      """Fixture to make sure the string cache is disabled before and after each test."""
      pl.disable_string_cache()
      yield
      pl.disable_string_cache()
  
file_path: polars/py-polars/tests/unit/test_string_cache.py
imports: from typing import Iterator
  import pytest
  import polars
  from polars.exceptions import CategoricalRemappingWarning
  from polars.testing import assert_frame_equal
label_desc: Use image node_id 1 for calling a global function with example usage: _disable_string_cache() without return types