diff --git a/bson/son.py b/bson/son.py index 18ec88c62..c233f7843 100644 --- a/bson/son.py +++ b/bson/son.py @@ -208,7 +208,7 @@ class SON(dict): """ if isinstance(other, SON): return len(self) == len(other) and self.items() == other.items() - return dict.__eq__(self, other) + return self.to_dict() == other def __ne__(self, other): return not self == other