code: def create_issue_manager(self, lab, labels, monkeypatch):
      def manager(labels=labels):
          monkeypatch.setattr(lab._labels, "labels", labels)
          return ClassImbalanceIssueManager(datalab=lab, threshold=0.1)
  
      return manager
  
file_path: cleanlab/tests/datalab/issue_manager/test_imbalance.py
imports: import numpy
  import pytest
  from cleanlab.datalab.internal.issue_manager.imbalance import ClassImbalanceIssueManager
label_desc: Use image node_id 2 for calling the TestClassImbalanceIssueManager obj's underlying member method code with example usage: obj.create_issue_manager(lab, labels, monkeypatch) and returns: manager, ClassImbalanceIssueManager