code: def test_predict_proba():
      X, y, knne = setup_test(n_neighbors=6)
      probas = knne.predict_proba(X)
      assert np.all(probas[0:5, 0] > probas[0:5, 1])
      assert np.all(probas[5:-1, 1] > probas[5:-1, 0])
  
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 5 for calling a global function with example usage: test_predict_proba() without return types