code: def test_permuted_ols_no_covar_n_job_error(dummy_design):
      """Ensure that a warning is raised when a given voxel has all zeros.
  
      This test also checks that an invalid n_jobs value will raise a ValueError.
      """
      target_var, tested_var, *_ = dummy_design
  
      with pytest.raises(ValueError):
          permuted_ols(
              tested_var,
              target_var,
              model_intercept=False,
              n_perm=N_PERM,
              n_jobs=0,  # not allowed
              random_state=0,
          )
  
imports: import nibabel
  import numpy
  import pytest
  from numpy.testing import assert_array_almost_equal, assert_array_less, assert_equal
  from scipy import stats
  from nilearn.conftest import _rng
  from nilearn.maskers import NiftiMasker
  from nilearn.mass_univariate import permuted_ols
label_desc: Use image node_id 23 for calling a global function with example usage: test_permuted_ols_no_covar_n_job_error(dummy_design) without return types