code: def test_soft_voting_no_proba(create_X_y):
      from sklearn.linear_model import Perceptron
  
      X, y = create_X_y
      clf = Perceptron()
      clf.fit(X, y)
      with pytest.raises(ValueError):
          model = DESClustering([clf, clf], voting="soft").fit(X, y)
  
imports: from unittest.mock import MagicMock
  import numpy
  import pytest
  from sklearn.cluster import KMeans
  from sklearn.linear_model import Perceptron
  from sklearn.utils.estimator_checks import check_estimator
  from deslib.des.des_clustering import DESClustering
  from deslib.util.diversity import Q_statistic, ratio_errors, negative_double_fault
label_desc: Use image node_id 18 for calling a global function with example usage: test_soft_voting_no_proba(create_X_y) without return types