def test_random_parfor(self):
        """
        Test function with only a random call to make sure a random function
        like ranf is actually translated to a parfor.
        """
        def test_impl(n):
            A = np.random.ranf((n, n))
            return A
        self.assertEqual(countParfors(test_impl, (types.int64, )), 1)

        Test function with only a random call to make sure a random function
        like ranf is actually translated to a parfor.
        
numba/tests/test_parfors.py