code: def test_angle():
      real = np.random.randint(1, 100, size=(20, 20))
      imag = np.random.randint(1, 100, size=(20, 20)) * 1j
      comp = real + imag
      dacomp = da.from_array(comp, 3)
  
      assert_eq(da.angle(dacomp), np.angle(comp))
      assert_eq(da.angle(dacomp, deg=True), np.angle(comp, deg=True))
      assert isinstance(da.angle(comp), np.ndarray)
      assert_eq(da.angle(comp), np.angle(comp))
  
imports: from __future__ import annotations
  import pickle
  import warnings
  from functools import partial
  from operator import add
  import pytest
  import dask.array
  from dask.array.ufunc import da_frompyfunc
  from dask.array.utils import assert_eq
  from dask.base import tokenize
label_desc: Use image node_id 9 for calling a global function with example usage: test_angle() without return types