code: def test_greedy_matching(self):
      greedyMatch = dedupe.clustering.greedyMatching
  
      bipartite_dupes = numpy.array(
          list(self.bipartite_dupes),
          dtype=[("ids", int, 2), ("score", float)],
      )
  
      assert list(greedyMatch(bipartite_dupes)) == [
          ((4, 6), 0.96),
          ((2, 7), 0.72),
          ((3, 8), 0.65),
          ((1, 5), 0.1),
      ]
  
file_path: dedupe/tests/test_dedupe.py
imports: import itertools
  import unittest
  import numpy
  import dedupe
label_desc: Use image node_id 4 for calling the ClusteringTest obj's underlying member method code with example usage: obj.test_greedy_matching() without return types