You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
EngineResult equality ignores extra items, so results with different items compare equal #2488
Describe the bug EngineResult.__eq__ returns True for two results with the same text but a different number of items. It compares the items with map(lambda x, y: x == y, self.items, other.items), and map stops at the shorter list, so extra items are never compared. A result with no items is equal to any result with the same text.
Activity