def __eq__(self, other):
        """ Overloads the equality operator to trigger a resolution of the matcher
            against the other expression value. This allows to easily use expressions
            in other libraries like Mock.
        """
        clone = self.clone()
        try:
            clone.resolve(other)
            return True
        except AssertionError:
            return False
        # Any exception is silenced and we just return false
        except:
            return False
def __eq__ ( self , other ) : clone = self . clone ( ) try : clone . resolve ( other ) return True except AssertionError : return False except : return False
Overloads the equality operator to trigger a resolution of the matcher
            against the other expression value. This allows to easily use expressions
            in other libraries like Mock.