code: def test_compute_proj_parallel(short_raw):
      """Test computation of ExG projectors using parallelization."""
      short_raw = short_raw.copy().pick(("eeg", "eog")).resample(100)
      raw = short_raw.copy()
      with pytest.warns(RuntimeWarning, match="Attenuation"):
          projs, _ = compute_proj_eog(
              raw,
              n_eeg=2,
              bads=raw.ch_names[1:2],
              average=False,
              avg_ref=True,
              no_proj=False,
              n_jobs=None,
              l_freq=None,
              h_freq=None,
              reject=None,
              tmax=dur_use,
              filter_length=100,
          )
      raw_2 = short_raw.copy()
      with pytest.warns(RuntimeWarning, match="Attenuation"):
          projs_2, _ = compute_proj_eog(
              raw_2,
              n_eeg=2,
              bads=raw.ch_names[1:2],
              average=False,
              avg_ref=True,
              no_proj=False,
              n_jobs=2,
              l_freq=None,
              h_freq=None,
              reject=None,
              tmax=dur_use,
              filter_length=100,
          )
      projs = activate_proj(projs)
      projs_2 = activate_proj(projs_2)
      projs, _, _ = make_projector(
          projs, raw_2.info["ch_names"], bads=["MEG 2443"]
      )
      projs_2, _, _ = make_projector(
          projs_2, raw_2.info["ch_names"], bads=["MEG 2443"]
      )
      assert_array_almost_equal(projs, projs_2, 10)
  
file_path: mne-python/mne/preprocessing/tests/test_ssp.py
imports: from pathlib import Path
  import numpy
  import pytest
  from numpy.testing import assert_array_almost_equal
  from mne import pick_types
  from mne._fiff.proj import activate_proj, make_projector
  from mne.datasets import testing
  from mne.io import read_raw_ctf, read_raw_fif
  from mne.preprocessing.ssp import compute_proj_ecg, compute_proj_eog
label_desc: Use image node_id 4 for calling a global function with example usage: test_compute_proj_parallel(short_raw) without return types