code: def test_array_chunk_shape_dep():
      dac = pytest.importorskip("dask.array.core")
      d = 2  # number of chunks in x,y
      chunk = (2, 3)  # chunk shape
      shape = tuple(d * n for n in chunk)  # array shape
      chunks = dac.normalize_chunks(chunk, shape)
      array_deps = ArrayChunkShapeDep(chunks)
  
      def check(i, j):
          chunk_shape = array_deps[(i, j)]
          assert chunk_shape == chunk
  
      for i in range(d):
          for j in range(d):
              check(i, j)
  
imports: from __future__ import annotations
  import os
  import pytest
  import sys
  from operator import getitem
  from distributed import Client, SchedulerPlugin
  from distributed.utils_test import cluster, loop
  from dask.highlevelgraph import HighLevelGraph
  from dask.layers import ArrayChunkShapeDep, ArraySliceDep, fractional_slice
label_desc: Use image node_id 1 for calling a global function with example usage: test_array_chunk_shape_dep() without return types