code: def test_full_detects_da_dtype():
      x = da.from_array(100)
      with pytest.warns(
          FutureWarning, match="not implemented by Dask array"
      ) as record:
          # This shall not raise an NotImplementedError due to dtype detected as object.
          a = da.full(shape=(3, 3), fill_value=x)
          assert a.dtype == x.dtype
          assert_eq(a, np.full(shape=(3, 3), fill_value=100))
      assert len(record) == 1
  
file_path: dask/dask/array/tests/test_wrap.py
imports: from __future__ import annotations
  import pytest
  import numpy
  import dask.array
  from dask.array.utils import assert_eq
  from dask.array.wrap import ones
label_desc: Use image node_id 7 for calling a global function with example usage: test_full_detects_da_dtype() without return types