We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9aa7ada commit 5bc0c70Copy full SHA for 5bc0c70
test/test_collection.py
@@ -1616,9 +1616,8 @@ def test_aggregate(self):
1616
self.assertEqual([{'foo': [1, 2]}], list(result))
1617
1618
# Test write concern.
1619
- out_pipeline = [pipeline, {'$out': 'output-collection'}]
1620
with self.write_concern_collection() as coll:
1621
- coll.aggregate(out_pipeline)
+ coll.aggregate([{'$out': 'output-collection'}])
1622
1623
def test_aggregate_raw_bson(self):
1624
db = self.db
0 commit comments