code: def test_divmod():
      arr1 = np.random.randint(1, 100, size=(20, 20))
      arr2 = np.random.randint(1, 100, size=(20, 20))
  
      darr1 = da.from_array(arr1, 3)
      darr2 = da.from_array(arr2, 3)
  
      result = np.divmod(darr1, 2.0)
      expected = np.divmod(arr1, 2.0)
      assert_eq(result[0], expected[0])
      assert_eq(result[1], expected[1])
  
      result = np.divmod(darr1, darr2)
      expected = np.divmod(arr1, arr2)
      assert_eq(result[0], expected[0])
      assert_eq(result[1], expected[1])
  
      result = divmod(darr1, 2.0)
      expected = divmod(arr1, 2.0)
      assert_eq(result[0], expected[0])
      assert_eq(result[1], expected[1])
  
      result = divmod(darr1, darr2)
      expected = divmod(arr1, arr2)
      assert_eq(result[0], expected[0])
      assert_eq(result[1], expected[1])
  
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 20 for calling a global function with example usage: test_divmod() without return types