code: def test_knne_not_allowed(create_X_y):
      X, y = create_X_y
  
      with pytest.raises(ValueError):
          BaseProbabilistic(knn_classifier="knne").fit(X, y)
  
imports: import numpy
  import pytest
  from sklearn.linear_model import Perceptron
  from sklearn.utils.estimator_checks import check_estimator
  from deslib.des.probabilistic import BaseProbabilistic, Logarithmic, Exponential, RRC, DESKL, MinimumDifference
label_desc: Use image node_id 22 for calling a global function with example usage: test_knne_not_allowed(create_X_y) without return types