code: def test_predict_proba_all_agree(
      example_estimate_competence, create_pool_all_agree
  ):
      X, y, _, _, _, dsel_scores = example_estimate_competence
  
      query = np.atleast_2d([1, 1])
      ds_test = BaseDS(create_pool_all_agree)
      ds_test.fit(X, y)
      ds_test.DSEL_scores = dsel_scores
      proba = ds_test.predict_proba(query)
      assert np.allclose(proba, np.atleast_2d([0.61, 0.39]))
  
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 22 for calling a global function with example usage: test_predict_proba_all_agree(example_estimate_competence, create_pool_all_agree) without return types