code: def test_make_multi_label_records(
      self, weak_multi_labels, include_abstentions, expected
  ):
      mj = MajorityVoter(weak_multi_labels)
      probs = mj._compute_multi_label_probs(weak_multi_labels.matrix())
  
      records = mj._make_multi_label_records(
          probs,
          weak_multi_labels.records(),
          include_abstentions,
          prediction_agent="mock",
      )
  
      assert records[0].prediction_agent == "mock"
      assert records[0].prediction == [
          ("scared", 1.0),
          ("happy", 0.0),
          ("sad", 0.0),
      ]
      assert len(records) == expected
      if include_abstentions:
          assert records[2].prediction is None
  
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 7 for calling the TestMajorityVoter obj's underlying member method code with example usage: obj.test_make_multi_label_records(weak_multi_labels, include_abstentions, expected) without return types