code: def test_sys_info_check_outdated(monkeypatch):
      """Test sys info checking."""
      # Old (actually ping GitHub)
      monkeypatch.setattr(mne, "__version__", "0.1")
      out = ClosingStringIO()
      sys_info(fid=out, check_version=10)
      out = out.getvalue()
      assert "(outdated, release " in out
      assert "updating.html" in out
  
      # Timeout (will call urllib.open)
      out = ClosingStringIO()
      sys_info(fid=out, check_version=1e-12)
      out = out.getvalue()
      assert (
          re.match(".*unable to check.*timeout.*", out, re.DOTALL)
          is not None
      )
      assert "updating.html" not in out
  
file_path: mne-python/mne/utils/tests/test_config.py
imports: import os
  import platform
  import re
  from functools import partial
  from pathlib import Path
  from urllib.error import URLError
  import pytest
  import mne
  import mne.utils.config
  from mne.utils import ClosingStringIO, _get_stim_channel, get_config, get_config_path, get_subjects_dir, requires_good_network, set_config, set_memmap_min_size, sys_info
label_desc: Use image node_id 5 for calling a global function with example usage: test_sys_info_check_outdated(monkeypatch) without return types