code: def test_bonferroni_pval_clip():
      """Test that p-values are never exceed 1.0."""
      p = (0.2, 0.9)
      _, p_corrected = bonferroni_correction(p)
      assert p_corrected.max() <= 1.0
  
imports: import numpy
  import pytest
  from numpy.testing import assert_allclose, assert_almost_equal, assert_array_equal
  from scipy import stats
  from mne.stats import bonferroni_correction, fdr_correction
label_desc: Use image node_id 1 for calling a global function with example usage: test_bonferroni_pval_clip() without return types