There was an error while loading. Please reload this page.
1 parent 2ef99ef commit 22cf7f2Copy full SHA for 22cf7f2
test/test_collection.py
@@ -1435,7 +1435,6 @@ def test_aggregation_cursor_alive(self):
1435
raise SkipTest("Aggregation cursor requires MongoDB >= 2.5.1")
1436
self.db.test.remove()
1437
self.db.test.insert([{} for _ in range(3)])
1438
- self.addCleanup(self.db.test.remove)
1439
cursor = self.db.test.aggregate(pipeline=[], cursor={'batchSize': 2})
1440
n = 0
1441
while True:
0 commit comments