code: def test_partial_first_order_variance():
      a = np.array([78, 12, 0.5, 2, 97, 33])
      actual = _partial_first_order_variance(a)
      expected = (len(a),)
  
      assert a.shape == expected
  
      expected = np.array(
          [0.000053, 0.001972, 0.148148, 0.037037, 0.000035, 0.000288]
      )
  
      assert_allclose(actual, expected, atol=1e-4, rtol=1e-4)
  
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 7 for calling a global function with example usage: test_partial_first_order_variance() without return types