code: def test_dc_inplace_error():
      def f(a, *, nd):
          a[:5] = 0
          b = a + 1
          return [a, b]
  
      with pytest.raises(MXNetError):
          # TODO(leezu): Should raise NotImplementedError https://github.com/apache/incubator-mxnet/issues/17522
          _all_assert_dc(_dc_simple_setup, f)
  
imports: import functools
  import operator
  import numpy
  import mxnet
  import mxnet._deferred_compute
  from mxnet.base import MXNetError
  from mxnet.util import TemporaryDirectory
  import pytest
label_desc: Use image node_id 15 for calling a global function with example usage: test_dc_inplace_error() and returns: list