We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2653a56 commit 4c23ee0Copy full SHA for 4c23ee0
pymongo/asynchronous/mongo_client.py
@@ -1219,7 +1219,7 @@ def __eq__(self, other: Any) -> bool:
1219
if hasattr(self, "_topology"):
1220
return self._topology == other._topology
1221
else:
1222
- raise InvalidOperation("Cannot perform operation until client is connected")
+ raise InvalidOperation("Cannot compare client equality until both clients are connected")
1223
return NotImplemented
1224
1225
def __ne__(self, other: Any) -> bool:
0 commit comments