code: def test_utils(tmp_path):
      """Test artemis123 utils."""
      # make a tempfile
      tmp_fname = tmp_path / "test_gen_mne_locs.csv"
      _generate_mne_locs_file(tmp_fname)
      installed_locs = _load_mne_locs()
      generated_locs = _load_mne_locs(tmp_fname)
      assert_equal(
          set(installed_locs.keys()), set(generated_locs.keys())
      )
      for key in installed_locs.keys():
          assert_allclose(
              installed_locs[key], generated_locs[key], atol=1e-7
          )
  
file_path: mne-python/mne/io/artemis123/tests/test_artemis123.py
imports: import numpy
  import pytest
  from numpy.testing import assert_allclose, assert_equal
  from mne import pick_types
  from mne._fiff.constants import FIFF
  from mne.datasets import testing
  from mne.io import read_raw_artemis123
  from mne.io.artemis123.utils import _generate_mne_locs_file, _load_mne_locs
  from mne.io.tests.test_raw import _test_raw_reader
  from mne.transforms import _angle_between_quats, rot_to_quat
label_desc: Use image node_id 4 for calling a global function with example usage: test_utils(tmp_path) without return types