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):
          BaseDES(pool, voting=voting).fit(X, y)
  
file_path: DESlib/deslib/tests/des/test_base.py
imports: from unittest.mock import MagicMock
  import numpy
  import pytest
  from deslib.des.base import BaseDES
label_desc: Use image node_id 13 for calling a global function with example usage: test_wrong_voting_value(voting, create_X_y, create_pool_classifiers) without return types