code: def test_device_with_dev_id(
      dev_type, dev_id, expected_device_type, expect_device_id
  ):
      dev = tvm.device(dev_type=dev_type, dev_id=dev_id)
      assert dev.device_type == expected_device_type
      assert dev.device_id == expect_device_id
  
imports: import pytest
  import tvm
  import tvm.testing
  from tvm._ffi.runtime_ctypes import Device
label_desc: Use image node_id 2 for calling a global function with example usage: test_device_with_dev_id(dev_type, dev_id, expected_device_type, expect_device_id) without return types