code: def test_wrong_voting_value(
      voting, create_X_y, create_pool_classifiers
  ):
      X, y = create_X_y
      pool = create_pool_classifiers
      with pytest.raises(ValueError):
          DESMI(pool, voting=voting).fit(X, y)
  
file_path: DESlib/deslib/tests/des/test_des_mi.py
imports: from unittest.mock import MagicMock
  import numpy
  import pytest
  from sklearn.linear_model import Perceptron
  from sklearn.utils.estimator_checks import check_estimator
  from deslib.des.des_mi import DESMI
label_desc: Use image node_id 12 for calling a global function with example usage: test_wrong_voting_value(voting, create_X_y, create_pool_classifiers) without return types