code: def test_use_default_device():
      # this will release any previous held device locks
      C.try_set_default_device(C.cpu(), False)
      q = Queue()
      p = Process(target=_use_default_device, args=(q,))
      p.start()
      p.join()
      assert p.exitcode == 0
      assert q.get()
  
imports: import numpy
  import pytest
  import cntk
  from multiprocessing import Process, Queue
label_desc: Use image node_id 9 for calling a global function with example usage: test_use_default_device() without return types