code: def test_set_excluded_devices():
      if len(C.device.all_devices()) == 1:
          return
      assert C.try_set_default_device(C.cpu(), False)
      assert C.try_set_default_device(C.gpu(0), False)
      C.set_excluded_devices([C.cpu()])
      assert not C.try_set_default_device(C.cpu(), False)
      C.set_excluded_devices([])
      assert C.try_set_default_device(C.cpu(), False)
  
imports: import numpy
  import pytest
  import cntk
  from multiprocessing import Process, Queue
label_desc: Use image node_id 12 for calling a global function with example usage: test_set_excluded_devices() without return types