code: def test_array_notimpl_function_dask(func):
      x = np.random.default_rng().random((100, 100))
      y = da.from_array(x, chunks=(50, 50))
  
      with pytest.warns(
          FutureWarning,
          match="The `.*` function is not implemented by Dask",
      ):
          func(y)
  
file_path: dask/dask/array/tests/test_array_function.py
imports: from __future__ import annotations
  import numpy
  import pytest
  import dask.array
  from dask.array.tests.test_dispatch import EncapsulateNDArray, WrappedArray
  from dask.array.utils import assert_eq
label_desc: Use image node_id 4 for calling a global function with example usage: test_array_notimpl_function_dask(func) without return types