code: def test_environment_path_override(monkeypatch) -> None:
      with tempfile.TemporaryDirectory() as new_datasets_path:
          monkeypatch.setenv(
              "STELLARGRAPH_DATASETS_PATH", new_datasets_path
          )
          dataset = CiteSeer()
          assert dataset.base_directory == os.path.join(
              new_datasets_path, dataset.directory_name
          )
          dataset.download()
  
imports: import pytest
  import tempfile
  import os
  import sys
  import numpy
  from stellargraph.datasets import *
  from urllib.error import URLError
  from stellargraph.datasets.dataset_loader import DatasetLoader
  from urllib.request import urlretrieve
  from unittest.mock import patch
label_desc: Use image node_id 4 for calling a global function with example usage: test_environment_path_override(monkeypatch) without return types