code: def test_1model_labels():
      clf = LogisticRegression(
          multi_class="multinomial",
          solver="newton-cg",
          random_state=123,
      )
      ens_clf_1 = EnsembleVoteClassifier(
          clfs=[clf], voting="soft", weights=None
      )
      ens_clf_2 = EnsembleVoteClassifier(
          clfs=[clf], voting="soft", weights=[1.0]
      )
  
      pred_e1 = ens_clf_1.fit(X, y).predict(X)
      pred_e2 = ens_clf_2.fit(X, y).predict(X)
      pred_e3 = clf.fit(X, y).predict(X)
  
      np.testing.assert_equal(pred_e1, pred_e2)
      np.testing.assert_equal(pred_e1, pred_e3)
  
imports: import random
  import numpy
  import pytest
  from packaging.version import Version
  from sklearn import __version__
  from sklearn import exceptions
  from sklearn.base import clone
  from sklearn.ensemble import RandomForestClassifier
  from sklearn.linear_model import LogisticRegression
  from sklearn.model_selection import GridSearchCV, cross_val_score
  from sklearn.naive_bayes import GaussianNB
  from sklearn.neighbors import KNeighborsClassifier
  from mlxtend.classifier import EnsembleVoteClassifier
  from mlxtend.data import iris_data
  from mlxtend.utils import assert_raises
label_desc: Use image node_id 7 for calling a global function with example usage: test_1model_labels() without return types