code: def test_fil_no_positions(tmp_path):
      """Test FIL reader in cases where a position file is missing."""
      test_path = tmp_path / "FIL"
      shutil.copytree(fil_path, test_path)
  
      posname = (
          test_path
          / "sub-noise_ses-001_task-noise220622_run-001_positions.tsv"
      )
      binname = (
          test_path
          / "sub-noise_ses-001_task-noise220622_run-001_meg.bin"
      )
  
      remove(posname)
  
      with pytest.warns(RuntimeWarning, match="No sensor position.*"):
          raw = read_raw_fil(binname)
      chs = raw.info["chs"]
      locs = array([ch["loc"][:] for ch in chs])
      assert isnan(locs).all()
  
file_path: mne-python/mne/io/fil/tests/test_fil.py
imports: import shutil
  from os import remove
  import pytest
  import scipy.io
  from numpy import array, empty, isnan
  from numpy.testing import assert_array_almost_equal, assert_array_equal
  from mne import pick_types
  from mne.datasets import testing
  from mne.io import read_raw_fil
  from mne.io.fil.sensors import _get_pos_units
label_desc: Use image node_id 8 for calling a global function with example usage: test_fil_no_positions(tmp_path) without return types