code: def test_nan_full_like(val, shape_chunks, dtype):
      shape, chunks = shape_chunks
      x1 = da.random.standard_normal(size=shape, chunks=chunks)
      y1 = x1[x1 < 0.5]
      x2 = x1.compute()
      y2 = x2[x2 < 0.5]
      assert_eq(
          da.full_like(y1, val, dtype=dtype),
          np.full_like(y2, val, dtype=dtype),
      )
  
imports: from __future__ import annotations
  import pytest
  import numpy
  import pytest
  from tlz import concat
  import dask
  import dask.array
  from dask.array.core import normalize_chunks
  from dask.array.numpy_compat import AxisError
  from dask.array.utils import assert_eq, same_keys
label_desc: Use image node_id 38 for calling a global function with example usage: test_nan_full_like(val, shape_chunks, dtype) without return types