Skip to content

Commit 13869a8

Browse files
committed
Merge branch 'master' of github.com:mongodb/mongo-python-driver
2 parents 5e40ab6 + 0cd9763 commit 13869a8

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/zizmor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ jobs:
1818
with:
1919
persist-credentials: false
2020
- name: Run zizmor 🌈
21-
uses: zizmorcore/zizmor-action@cb3d8e846e148d1111d90b03375b9c03deceda37
21+
uses: zizmorcore/zizmor-action@706c51b5bce7adb027de71ab36d865f5d3fcc7b7

doc/changelog.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ PyMongo 4.16 brings a number of changes including:
1818
and :class:`~pymongo.synchronous.collection.Collection` to include ``None``.
1919
- Added support for NumPy 1D-arrays in :class:`bson.binary.BinaryVector`.
2020

21-
Changes in Version 4.15.5 (2025/XX/XX)
21+
Changes in Version 4.15.5 (2025/12/02)
2222
--------------------------------------
2323

2424
Version 4.15.5 is a bug fix release.

test/asynchronous/unified_format.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1458,7 +1458,7 @@ async def verify_outcome(self, spec):
14581458
read_concern=ReadConcern(level="local"),
14591459
)
14601460

1461-
if expected_documents:
1461+
if expected_documents is not None:
14621462
sorted_expected_documents = sorted(expected_documents, key=lambda doc: doc["_id"])
14631463
actual_documents = await coll.find({}, sort=[("_id", ASCENDING)]).to_list()
14641464
self.assertListEqual(sorted_expected_documents, actual_documents)

test/unified_format.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1445,7 +1445,7 @@ def verify_outcome(self, spec):
14451445
read_concern=ReadConcern(level="local"),
14461446
)
14471447

1448-
if expected_documents:
1448+
if expected_documents is not None:
14491449
sorted_expected_documents = sorted(expected_documents, key=lambda doc: doc["_id"])
14501450
actual_documents = coll.find({}, sort=[("_id", ASCENDING)]).to_list()
14511451
self.assertListEqual(sorted_expected_documents, actual_documents)

0 commit comments

Comments
 (0)