'Checks python, njit and parfor impls produce the same result.
Arguments:
pyfunc - the python function to test
cfunc - CompilerResult from njit of pyfunc
cpfunc - CompilerResult from njit(parallel=True) of pyfunc
args - arguments for the function being tested
kwargs - to pass to np.testing.assert_almost_equal
\'decimal\' is supported.'

def check_prange_vs_others(self, pyfunc, cfunc, cpfunc, *args, **kwargs):

    py_expected = pyfunc(*args)
    njit_output = cfunc.entry_point(*args)
    parfor_output = cpfunc.entry_point(*args)
    np.testing.assert_almost_equal(njit_output, py_expected, **kwargs)
    np.testing.assert_almost_equal(parfor_output, py_expected, **kwargs)
    self.assertIn('@do_scheduling', cpfunc.library.get_llvm_str())
