code: def test_not_predict_proba(create_X_y):
      X, y = create_X_y
  
      classifier = MagicMock()
      classifier.predict.return_value = [0]
      single_best_test = SingleBest([classifier] * 10)
      single_best_test.fit(X, y)
      with pytest.raises(ValueError):
          single_best_test.predict_proba(X)
  
file_path: DESlib/deslib/tests/static/test_single_best.py
imports: from unittest.mock import MagicMock
  import numpy
  import pytest
  from sklearn.datasets import make_classification
  from sklearn.ensemble import AdaBoostClassifier
  from sklearn.exceptions import NotFittedError
  from sklearn.metrics import roc_auc_score
  from sklearn.utils.estimator_checks import check_estimator
  from deslib.static.single_best import SingleBest
label_desc: Use image node_id 6 for calling a global function with example usage: test_not_predict_proba(create_X_y) without return types