diff --git a/lisa/utils.py b/lisa/utils.py index 7e023705941e553b84e8f0da2c19299dfec97c32..01c6cd660b67faece62e3ec699ad9457e273c9eb 100644 --- a/lisa/utils.py +++ b/lisa/utils.py @@ -3065,13 +3065,7 @@ class SimpleHash: if self is other: return True elif self.__class__ is other.__class__: - d1 = self.__dict__ - d2 = other.__dict__ - # This improves the performance on average - if d1.values() != d2.values(): - return False - else: - return d1 == d2 + return self.__dict__ == other.__dict__ else: return False