code: def test_diff_attr_names(self):
      with self.assertRaises(Exception):
          d = DeterministicReranking([{"a": 0}], [{"b": 0}])
          d.fit(dataset)
  
file_path: AIF360/tests/test_deterministic_reranking.py
imports: import unittest
  import pandas
  from aif360.datasets import RegressionDataset
  from aif360.algorithms.postprocessing.deterministic_reranking import DeterministicReranking
label_desc: Use image node_id 2 for calling the TestInputValidation obj's underlying member method code with example usage: obj.test_diff_attr_names() without return types