code: def test_uneven_k():
      X, y, knne = setup_test(n_neighbors=7)
      test = X[0, :].reshape(1, -1)
      dist, inds = knne.kneighbors(test, 7)
      assert np.allclose([0, 1, 5, 6, 10, 11, 2], inds)
  
file_path: DESlib/deslib/tests/util/test_knne.py
imports: import pytest
  import numpy
  from deslib.util import faiss_knn_wrapper
  from deslib.util import KNNE
label_desc: Use image node_id 3 for calling a global function with example usage: test_uneven_k() without return types