code: def test_setitem_on_read_only_blocks():
      # Outputs of broadcast_trick-style functions contain read-only
      # arrays
      dx = da.empty_like(
          cupy.array(()), shape=(4, 6), dtype=float, chunks=(2, 2)
      )
      dx[0] = 99
  
      assert_eq(dx[0, 0], 99.0)
  
      dx[0:2] = 88
  
      assert_eq(dx[0, 0], 88.0)
  
imports: from __future__ import annotations
  import numpy
  import pytest
  from packaging.version import parse
  import dask
  import dask.array
  from dask.array.utils import assert_eq
  from dask.sizeof import sizeof
label_desc: Use image node_id 15 for calling a global function with example usage: test_setitem_on_read_only_blocks() without return types