code: def test_wrong_weights_votes(create_pool_classifiers):
      query = np.array([[1, -1]])
      ensemble_classifiers = create_pool_classifiers
      weights = np.array([1.0, 1.0, 1.0, 1.0])
      with pytest.raises(ValueError):
          weighted_majority_voting(ensemble_classifiers, weights, query)
  
imports: import pytest
  from deslib.util.aggregation import *
  from ..conftest import create_base_classifier
label_desc: Use image node_id 6 for calling a global function with example usage: test_wrong_weights_votes(create_pool_classifiers) without return types