code: def test_quad_vec_pool_args(extra_args, workers):
      f = _func_with_args
      exact = np.array([0, 4 / 3, 8 / 3])
  
      res, err = quad_vec(f, 0, 1, args=extra_args, workers=workers)
      assert_allclose(res, exact, rtol=0, atol=1e-4)
  
      with Pool(workers) as pool:
          res, err = quad_vec(
              f, 0, 1, args=extra_args, workers=pool.map
          )
          assert_allclose(res, exact, rtol=0, atol=1e-4)
  
file_path: scipy/scipy/integrate/tests/test__quad_vec.py
imports: import pytest
  import numpy
  from numpy.testing import assert_allclose
  from scipy.integrate import quad_vec
  from multiprocessing.dummy import Pool
label_desc: Use image node_id 7 for calling a global function with example usage: test_quad_vec_pool_args(extra_args, workers) without return types