code: def test_not_predict_proba(create_X_y):
      X, y = create_X_y
  
      clf1 = Perceptron()
      clf1.fit(X, y)
      with pytest.raises(ValueError):
          knop = KNOP([clf1, clf1])
          knop.fit(X, y)
  
file_path: DESlib/deslib/tests/des/test_knop.py
imports: from unittest.mock import Mock
  import numpy
  import pytest
  from sklearn.linear_model import Perceptron
  from sklearn.utils.estimator_checks import check_estimator
  from deslib.des.knop import KNOP
label_desc: Use image node_id 5 for calling a global function with example usage: test_not_predict_proba(create_X_y) without return types