code: def test_select(
      index,
      expected,
      create_pool_classifiers,
      example_estimate_competence,
  ):
      X, y, neighbors, distances, _, _ = example_estimate_competence
  
      knora_e_test = KNORAE(create_pool_classifiers)
      knora_e_test.fit(X, y)
      neighbors = neighbors[index, :].reshape(1, -1)
      distances = distances[index, :].reshape(1, -1)
      competences = knora_e_test.estimate_competence(
          neighbors, distances=distances
      )
      selected = knora_e_test.select(competences)
  
      assert np.array_equal(selected, expected)
  
file_path: DESlib/deslib/tests/des/test_knorae.py
imports: import numpy
  import pytest
  from sklearn.linear_model import Perceptron
  from sklearn.utils.estimator_checks import check_estimator
  from deslib.des.knora_e import KNORAE
label_desc: Use image node_id 3 for calling a global function with example usage: test_select(index, expected, create_pool_classifiers, example_estimate_competence) without return types