code: def test_0d_array():
      x = da.mean(da.ones(4, chunks=4), axis=()).compute()
      x = da.mean(da.ones(4, chunks=4), axis=0).compute()
      y = np.mean(np.ones(4))
      assert type(x) == type(y)
  
      x = da.sum(da.zeros(4, chunks=1)).compute()
      y = np.sum(np.zeros(4))
      assert type(x) == type(y)
  
imports: from __future__ import annotations
  import os
  import warnings
  from contextlib import nullcontext
  from itertools import permutations, zip_longest
  import pytest
  import itertools
  import dask.array
  import dask.config
  from dask.array.numpy_compat import ComplexWarning, _numpy_122
  from dask.array.utils import assert_eq, same_keys
  from dask.core import get_deps
label_desc: Use image node_id 21 for calling a global function with example usage: test_0d_array() without return types