code: def test_only_identical_strings_extracted(scorer, processor, data):
      """
      Test that only identical (post processing) strings score 100 on the test.
  
      If two strings are not identical then using full comparison methods they should
      not be a perfect (100) match.
  
      :param scorer:
      :param processor:
      :param data:
      :return:
      """
      # Draw a list of random strings
      strings = data.draw(
          st.lists(
              st.text(
                  min_size=10,
                  max_size=100,
                  alphabet=HYPOTHESIS_ALPHABET,
              ),
              min_size=1,
              max_size=10,
          )
      )
      # Draw a random integer for the index in that list
      choiceidx = data.draw(
          st.integers(min_value=0, max_value=(len(strings) - 1))
      )
  
      # Extract our choice from the list
      choice = strings[choiceidx]
  
      # Check process doesn't make our choice the empty string
      assume(processor(choice) != "")
  
      # Extract all perfect matches
      result = process.extractBests(
          choice,
          strings,
          scorer=scorer,
          processor=processor,
          score_cutoff=100,
          limit=None,
      )
  
      # Check we get a result
      assert result != []
  
      # Check THE ONLY result(s) we get are a perfect match for the (processed) original data
      pchoice = processor(choice)
      for r in result:
          assert pchoice == processor(r[0])
  
file_path: fuzzywuzzy/test_fuzzywuzzy_hypothesis.py
imports: from itertools import product
  from functools import partial
  from string import ascii_letters, digits, punctuation
  from hypothesis import given, assume, settings
  import hypothesis.strategies
  import pytest
  from fuzzywuzzy import fuzz, process, utils
label_desc: Use image node_id 4 for calling a global function with example usage: test_only_identical_strings_extracted(scorer, processor, data) without return types