code: def test_all_resolution_inference_errors(
      alpha, data_norm_isf, affine_eye
  ):
      # test aberrant alpha
      data = data_norm_isf
      stat_img = Nifti1Image(data, affine_eye)
  
      with pytest.raises(
          ValueError, match="alpha should be between 0 and 1"
      ):
          cluster_level_inference(stat_img, threshold=3, alpha=alpha)
  
imports: import numpy
  import pytest
  from nibabel import Nifti1Image
  from numpy.testing import assert_almost_equal, assert_equal
  from scipy.stats import norm
  from nilearn.conftest import _shape_3d_default
  from nilearn.glm import cluster_level_inference, fdr_threshold, threshold_stats_img
  from nilearn.glm.thresholding import _compute_hommel_value
  from nilearn.image import get_data
label_desc: Use image node_id 12 for calling a global function with example usage: test_all_resolution_inference_errors(alpha, data_norm_isf, affine_eye) without return types