code: def test_tril_triu_non_square_arrays():
      A = cupy.random.default_rng().integers(0, 11, (30, 35))
      dA = da.from_array(A, chunks=(5, 5), asarray=False)
      assert_eq(da.triu(dA), np.triu(A))
      assert_eq(da.tril(dA), np.tril(A))
  
file_path: dask/dask/array/tests/test_cupy_routines.py
imports: from __future__ import annotations
  import numpy
  import pytest
  from packaging.version import parse
  import dask.array
  from dask.array.utils import assert_eq, same_keys
label_desc: Use image node_id 8 for calling a global function with example usage: test_tril_triu_non_square_arrays() without return types