code: def test_importable_with_no_home(tmp_path):
      subprocess.run(
          [
              sys.executable,
              "-c",
              "import pathlib; pathlib.Path.home = lambda *args: 1/0; "
              "import matplotlib.pyplot",
          ],
          env={**os.environ, "MPLCONFIGDIR": str(tmp_path)},
          check=True,
      )
  
file_path: matplotlib/lib/matplotlib/tests/test_matplotlib.py
imports: import os
  import subprocess
  import sys
  import pytest
  import matplotlib
label_desc: Use image node_id 3 for calling a global function with example usage: test_importable_with_no_home(tmp_path) without return types