code: def test_fdr_error(rng):
      n = 100
      x = np.linspace(0.5 / n, 1.0 - 0.5 / n, n)
      x[:10] = 0.0005
      x = norm.isf(x)
      rng.shuffle(x)
  
      match = "alpha should be between 0 and 1"
      with pytest.raises(ValueError, match=match):
          fdr_threshold(x, -0.1)
      with pytest.raises(ValueError, match=match):
          fdr_threshold(x, 1.5)
  
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 2 for calling a global function with example usage: test_fdr_error(rng) without return types