code: def test_recursive_set_rng_kwarg():
      uniform = scope.uniform
      a = as_apply([uniform(0, 1), uniform(2, 3)])
      rng = np.random.default_rng(234)
      recursive_set_rng_kwarg(a, rng)
      print(a)
      val_a = rec_eval(a)
      assert 0 < val_a[0] < 1
      assert 2 < val_a[1] < 3
  
file_path: hyperopt/hyperopt/pyll/tests/test_stochastic.py
imports: import numpy
  from hyperopt.pyll import scope, as_apply, rec_eval
  from hyperopt.pyll.stochastic import recursive_set_rng_kwarg, sample
label_desc: Use image node_id 1 for calling a global function with example usage: test_recursive_set_rng_kwarg() without return types