code: def test_get_device_native():
      backend = chainerx.get_global_default_context().get_backend(
          "native"
      )
      device = backend.get_device(0)
      assert 0 == device.index
      assert "native:0" == device.name
      assert device is backend.get_device(0)
  
file_path: chainer/tests/chainerx_tests/unit_tests/test_backend.py
imports: import pytest
  import chainerx
label_desc: Use image node_id 2 for calling a global function with example usage: test_get_device_native() without return types