code: def setUp(self):
      field_definition = [{"field": "name", "type": "String"}]
      self.data_model = dedupe.Dedupe(field_definition).data_model
      self.training_pairs = {
          "match": [
              (
                  {"name": "Bob", "age": "50"},
                  {"name": "Bob", "age": "75"},
              ),
              (
                  {"name": "Meredith", "age": "40"},
                  {"name": "Sue", "age": "10"},
              ),
          ],
          "distinct": [
              (
                  {"name": "Jimmy", "age": "20"},
                  {"name": "Jimbo", "age": "21"},
              ),
              (
                  {"name": "Willy", "age": "35"},
                  {"name": "William", "age": "35"},
              ),
              (
                  {"name": "William", "age": "36"},
                  {"name": "William", "age": "35"},
              ),
          ],
      }
  
      self.training = (
          self.training_pairs["match"] + self.training_pairs["distinct"]
      )
      self.training_records = []
      for pair in self.training:
          for record in pair:
              if record not in self.training_records:
                  self.training_records.append(record)
  
      self.simple = lambda x: set(
          [str(k) for k in x if "CompoundPredicate" not in str(k)]
      )
  
file_path: dedupe/tests/test_blocking.py
imports: import unittest
  from collections import defaultdict
  import dedupe
label_desc: Use image node_id 1 for calling the BlockingTest obj's underlying member method code with example usage: obj.setUp() without return types