code: def test_get_data_home_env(tmpdir):
      """
      get_data_home should return the environment variable if set
      """
      path = str(tmpdir.mkdir("fixtures").join("foo"))
      assert not os.path.exists(path)
  
      with environ(YELLOWBRICK_DATA=path):
          assert get_data_home() == path
          assert os.path.exists(path)
  
file_path: yellowbrick/tests/test_datasets/test_path.py
imports: import os
  import pytest
  import contextlib
  from yellowbrick.datasets.path import *
  from yellowbrick.exceptions import DatasetsError
label_desc: Use image node_id 3 for calling a global function with example usage: test_get_data_home_env(tmpdir) without return types