code: def clean_key(cls, key):
          
          for var_re in cls.VARIABLE_RES:
              key = var_re.sub('#', key)
          return key
docs: Replace things that look like variables with a '#' so tests aren't affected by random variables