code: def test_dummy_ndarray_device_spec(device_spec):
      a = array_utils.create_dummy_ndarray(
          chainerx, (2, 3), "float32", device=device_spec
      )
      assert a.device is chainerx.get_device(device_spec)
  
file_path: chainer/tests/chainerx_tests/test_array_utils.py
imports: import numpy
  import pytest
  import chainerx
  from chainerx_tests import array_utils
label_desc: Use image node_id 3 for calling a global function with example usage: test_dummy_ndarray_device_spec(device_spec) without return types