code: def test_anova():
      np_args = [i * np.random.random(size=(30,)) for i in range(4)]
      da_args = [da.from_array(x, chunks=10) for x in np_args]
  
      result = dask.array.stats.f_oneway(*da_args)
      expected = scipy.stats.f_oneway(*np_args)
  
      assert allclose(result.compute(), expected)
  
file_path: dask/dask/array/tests/test_stats.py
imports: from __future__ import annotations
  import warnings
  import pytest
  from packaging.version import parse
  import numpy
  import dask.array
  import dask.array.stats
  from dask.array.utils import allclose, assert_eq
  from dask.delayed import Delayed
label_desc: Use image node_id 6 for calling a global function with example usage: test_anova() without return types