code: def test_score_single_label_no_ties(self, weak_labels):
      mj = MajorityVoter(weak_labels)
  
      probabilities = np.array(
          [[0.5, 0.3, 0.0], [0.5, 0.0, 0.0], [1.0 / 3, 0.0, 2.0 / 3]]
      )
  
      _, prediction = mj._score_single_label(
          probabilities=probabilities,
          tie_break_policy=TieBreakPolicy.ABSTAIN,
      )
      _, prediction2 = mj._score_single_label(
          probabilities=probabilities,
          tie_break_policy=TieBreakPolicy.RANDOM,
      )
  
      assert np.allclose(prediction, prediction2)
  
imports: import sys
  import numpy
  import pytest
  from argilla.client.models import TextClassificationRecord
  from argilla.labeling.text_classification import FlyingSquid, Snorkel, WeakLabels, WeakMultiLabels
  from argilla.labeling.text_classification.label_models import LabelModel, MajorityVoter, MissingAnnotationError, NotFittedError, TieBreakPolicy, TooFewRulesError
label_desc: Use image node_id 11 for calling the TestMajorityVoter obj's underlying member method code with example usage: obj.test_score_single_label_no_ties(weak_labels) without return types