code: def test_with_numpy_data(queue):
      X = np.zeros((5, 3))
      y = np.zeros(3)
  
      device_name = device_type_to_str(queue)
      assert _get_policy(queue, X, y).get_device_name() == device_name
  
imports: import numpy
  import pytest
  from onedal.common._policy import _get_policy
  from onedal.tests.utils._device_selection import device_type_to_str, get_memory_usm, get_queues, is_dpctl_available
label_desc: Use image node_id 2 for calling a global function with example usage: test_with_numpy_data(queue) without return types