code: def test_run_update_temazepam_records(tmp_path):
      """Test Sleep Physionet URL handling."""
      pd = pytest.importorskip("pandas")
      pytest.importorskip("xlrd", "0.9")
      fname = tmp_path / "records.csv"
      _update_sleep_temazepam_records(fname)
      data = pd.read_csv(fname)
  
      pd.testing.assert_frame_equal(
          data, pd.read_csv(TEMAZEPAM_SLEEP_RECORDS)
      )
  
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 10 for calling a global function with example usage: test_run_update_temazepam_records(tmp_path) without return types