code: def test__make_positive_duplicate_pairs(mocker):
      ground_truth = {
          "1": ["2", "3", "4"],
          "2": ["1", "3"],
          "3": ["1", "2"],
          "4": ["1"],
      }
      valid_pairs = [
          ("1", "2"),
          ("1", "3"),
          ("1", "4"),
          ("2", "1"),
          ("2", "3"),
          ("3", "1"),
          ("3", "2"),
          ("4", "1"),
      ]
      get_unique_ordered_tuples_mocker = mocker.patch(
          "imagededup.handlers.metrics.classification._get_unique_ordered_tuples"
      )
      _make_positive_duplicate_pairs(ground_truth, ground_truth)
      get_unique_ordered_tuples_mocker.assert_called_with(valid_pairs)
  
file_path: imagededup/tests/test_classification.py
imports: import numpy
  from imagededup.handlers.metrics.classification import _get_unique_ordered_tuples, _make_all_unique_possible_pairs, _make_positive_duplicate_pairs, _prepare_labels, classification_metrics
label_desc: Use image node_id 3 for calling a global function with example usage: test__make_positive_duplicate_pairs(mocker) without return types