code: def test_index(self):
      self.blocker.index(set(self.fields_2.values()), "name")
  
      blocks = defaultdict(set)
  
      for block_key, record_id in self.blocker(self.records_1.items()):
          blocks[block_key].add(record_id)
  
      assert list(blocks.items())[0][1] == set([130])
  
file_path: dedupe/tests/test_blocking.py
imports: import unittest
  from collections import defaultdict
  import dedupe
label_desc: Use image node_id 2 for calling the TfIndexUnindex obj's underlying member method code with example usage: obj.test_index() without return types