code: def test_Sobol_G_raises_error_if_values_gt_one():
      """
      Tests that a value error is raised if the Sobol G function is called with
      values greater than one
      """
      with raises(ValueError):
          evaluate(
              np.array([0, 1, 0.02, 0.23, 1.234, 0.02848848, 0, 0.78])
          )
  
file_path: SALib/tests/test_test_functions.py
imports: from pytest import raises
  from numpy.testing import assert_allclose
  import numpy
  from SALib.test_functions.Sobol_G import evaluate, _total_variance, _partial_first_order_variance, sensitivity_index, total_sensitivity_index
  from SALib import ProblemSpec
label_desc: Use image node_id 3 for calling a global function with example usage: test_Sobol_G_raises_error_if_values_gt_one() without return types