code: def test_split_name_ext():
      """Test file name extension splitting."""
      # test known extensions
      for ext in _get_readers():
          assert split_name_ext(f"test{ext}")[1] == ext
  
      # test unsupported extensions
      for ext in ("this.is.not.supported", "a.b.c.d.e", "fif.gz.xyz"):
          assert split_name_ext(f"test{ext}")[1] is None
  
file_path: mne-python/mne/io/tests/test_read_raw.py
imports: from pathlib import Path
  from shutil import copyfile
  import pytest
  from mne.datasets import testing
  from mne.io import read_raw
  from mne.io._read_raw import _get_readers, split_name_ext
label_desc: Use image node_id 5 for calling a global function with example usage: test_split_name_ext() without return types