code: def test_single_path(tmp_path):
      mpl.rcParams[PARAM] = "gray"
      path = tmp_path / f"text.{STYLE_EXTENSION}"
      path.write_text(f"{PARAM} : {VALUE}", encoding="utf-8")
      with style.context(path):
          assert mpl.rcParams[PARAM] == VALUE
      assert mpl.rcParams[PARAM] == "gray"
  
imports: from contextlib import contextmanager
  from pathlib import Path
  from tempfile import TemporaryDirectory
  import sys
  import numpy
  import pytest
  import matplotlib
  from matplotlib import pyplot, style
  from matplotlib.style.core import USER_LIBRARY_PATHS, STYLE_EXTENSION
label_desc: Use image node_id 6 for calling a global function with example usage: test_single_path(tmp_path) without return types