From 6a690c970b7f969f2bf9101ffe1514d7fd6db9f2 Mon Sep 17 00:00:00 2001 From: julius Date: Fri, 18 Mar 2022 14:50:00 -0700 Subject: [PATCH] should fix last remaining test errors --- pymongo/mongo_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pymongo/mongo_client.py b/pymongo/mongo_client.py index 8bdc8146a..11d1599ad 100644 --- a/pymongo/mongo_client.py +++ b/pymongo/mongo_client.py @@ -1761,7 +1761,7 @@ class MongoClient(common.BaseObject, Generic[_DocumentType]): "firstBatch": res["databases"], "ns": "admin.$cmd", } - return CommandCursor(admin["$cmd"], cursor, None, comment) + return CommandCursor(admin["$cmd"], cursor, None, comment=comment) def list_database_names( self,