code: def test_device_pickle(device):
      s = pickle.dumps(device)
      device2 = pickle.loads(s)
      assert device is device2
  
file_path: chainer/tests/chainerx_tests/unit_tests/test_device.py
imports: import copy
  import pickle
  import pytest
  import chainerx
label_desc: Use image node_id 13 for calling a global function with example usage: test_device_pickle(device) without return types