code: def test_eye_errors():
      eye(1, device="cpu")  # Doesn't error
      assert_raises(ValueError, lambda: eye(1, device="gpu"))
      assert_raises(ValueError, lambda: eye(1, dtype=int))
      assert_raises(ValueError, lambda: eye(1, dtype="i"))
  
file_path: catboost/contrib/python/numpy/py3/numpy/array_api/tests/test_creation_functions.py
imports: from numpy.testing import assert_raises
  import numpy
  from numpy.array_api import all
  from numpy.array_api._creation_functions import asarray, arange, empty, empty_like, eye, full, full_like, linspace, meshgrid, ones, ones_like, zeros, zeros_like
  from numpy.array_api._dtypes import float32, float64
  from numpy.array_api._array_object import Array
label_desc: Use image node_id 6 for calling a global function with example usage: test_eye_errors() without return types