class_docstr: Retries until an exception message equals or matches.
class_docstr_tok: ["Retries","until","an","exception","message","equals","or","matches","."]
code: def __init__(self, *args, **kwargs):
      super(retry_if_not_exception_message, self).__init__(
          *args, **kwargs
      )
      # invert predicate
      if_predicate = self.predicate
      self.predicate = lambda *args_, **kwargs_: not if_predicate(
          *args_, **kwargs_
      )
  
imports: import abc
  import re
  import six
label_desc: Use image node_id 1 to create a new retry_if_not_exception_message object from inherited base classes: retry_if_exception_message with example: obj = retry_if_not_exception_message()