Skip to content

Commit 5bc0c70

Browse files
authored
PYTHON-1624 Fix failing $out test on MongoDB latest (mongodb#369)
1 parent 9aa7ada commit 5bc0c70

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/test_collection.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1616,9 +1616,8 @@ def test_aggregate(self):
16161616
self.assertEqual([{'foo': [1, 2]}], list(result))
16171617

16181618
# Test write concern.
1619-
out_pipeline = [pipeline, {'$out': 'output-collection'}]
16201619
with self.write_concern_collection() as coll:
1621-
coll.aggregate(out_pipeline)
1620+
coll.aggregate([{'$out': 'output-collection'}])
16221621

16231622
def test_aggregate_raw_bson(self):
16241623
db = self.db

0 commit comments

Comments
 (0)