code: def test_segmented_hash__hash_func(self):
      segmented_ahash = imagehash.crop_resistant_hash(
          self.image, imagehash.average_hash
      )
      segmented_dhash = imagehash.crop_resistant_hash(
          self.image, imagehash.dhash
      )
      self.assertFalse(
          segmented_ahash.matches(segmented_dhash),
          "Segmented hash should not match when the underlying hashing method is not the same",
      )
  
file_path: imagehash/tests/test_crop_resistant_hash.py
imports: from __future__ import absolute_import, division, print_function
  import unittest
  from datetime import datetime
  import imagehash
  from .utils import TestImageHash
label_desc: Use image node_id 3 for calling the Test obj's underlying member method code with example usage: obj.test_segmented_hash__hash_func() without return types