code: def test_preprocess_dsel_scores(create_X_y, create_pool_classifiers):
      X, y = create_X_y
      ds_test = BaseDS(create_pool_classifiers)
      ds_test.fit(X, y)
      dsel_scores = ds_test._predict_proba_base(X)
      expected = np.array([[0.5, 0.5], [1.0, 0.0], [0.33, 0.67]])
      expected = np.tile(expected, (15, 1, 1))
      assert np.array_equal(dsel_scores, expected)
  
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 18 for calling a global function with example usage: test_preprocess_dsel_scores(create_X_y, create_pool_classifiers) without return types