code: def test_data():
      """Test reading raw nicolet files."""
      _test_raw_reader(
          read_raw_nicolet,
          input_fname=fname_data,
          ch_type="eeg",
          ecg="auto",
          eog="auto",
          emg="auto",
          misc=["PHO"],
      )
  
      with pytest.raises(
          ValueError,
          match='File name should end with .data not ".head".',
      ):
          read_raw_nicolet(fname_head, "eeg")
  
imports: from pathlib import Path
  import pytest
  from mne.io import read_raw_nicolet
  from mne.io.tests.test_raw import _test_raw_reader
label_desc: Use image node_id 1 for calling a global function with example usage: test_data() without return types