code: def physionet_tmpdir(tmp_path_factory):
      """Fixture exposing a temporary directory for testing."""
      return str(tmp_path_factory.mktemp("physionet_files"))
  
file_path: mne-python/mne/datasets/sleep_physionet/tests/test_physionet.py
imports: from pathlib import Path
  import pytest
  from mne.datasets.sleep_physionet import age, temazepam
  from mne.datasets.sleep_physionet._utils import AGE_SLEEP_RECORDS, TEMAZEPAM_SLEEP_RECORDS, _update_sleep_age_records, _update_sleep_temazepam_records
  from mne.utils import requires_good_network
label_desc: Use image node_id 1 for calling a global function with example usage: physionet_tmpdir(tmp_path_factory) and returns: str