code: def test_predict_value(query):
      pool_classifiers = create_classifiers_disagree()
      ds = BaseDS(pool_classifiers)
      X = np.random.rand(10, 2)
      y = np.ones(10)
      y[:5] = 0
      ds.fit(X, y)
      with pytest.raises(ValueError):
          ds.predict(query)
  
imports: import unittest.mock
  from unittest.mock import Mock, MagicMock
  import numpy
  import pytest
  from sklearn.exceptions import NotFittedError
  from sklearn.neighbors import KNeighborsClassifier
  from deslib.base import BaseDS
  from deslib.util.dfp import frienemy_pruning_preprocessed
  from .conftest import create_base_classifier
label_desc: Use image node_id 3 for calling a global function with example usage: test_predict_value(query) without return types