code: def test_no_shared_keys_with_different_depths():
      rng = da.random.default_rng(0)
      a = rng.random((9, 9), chunks=(3, 3))
  
      def check(x):
          assert x.shape == (3, 3)
          return x
  
      r = [
          a.map_overlap(
              lambda a: a + 1,
              dtype=a.dtype,
              depth={j: int(i == j) for j in range(a.ndim)},
              boundary="none",
          ).map_blocks(check, dtype=a.dtype)
          for i in range(a.ndim)
      ]
  
      assert set(r[0].dask) & set(r[1].dask) == set(a.dask)
      da.compute(*r, scheduler="single-threaded")
  
imports: from __future__ import annotations
  import pytest
  import numpy
  from numpy.testing import assert_array_almost_equal, assert_array_equal
  import dask.array
  from dask.array.lib.stride_tricks import sliding_window_view
  from dask.array.overlap import boundaries, constant, ensure_minimum_chunksize, nearest, overlap, overlap_internal, periodic, reflect, trim_internal
  from dask.array.utils import assert_eq, same_keys
label_desc: Use image node_id 33 for calling a global function with example usage: test_no_shared_keys_with_different_depths() and returns: x