code: def test_exact_comparator(self):
      deduper = dedupe.Dedupe([{"field": "name", "type": "Exact"}])
  
      record_pairs = (
          ({"name": "Shmoo"}, {"name": "Shmee"}),
          ({"name": "Shmoo"}, {"name": "Shmoo"}),
      )
  
      numpy.testing.assert_array_almost_equal(
          deduper.data_model.distances(record_pairs),
          numpy.array([[0.0], [1.0]]),
          3,
      )
  
imports: import random
  import unittest
  import numpy
  import scipy.special
  import dedupe
label_desc: Use image node_id 1 for calling the FieldDistances obj's underlying member method code with example usage: obj.test_exact_comparator() without return types