(self)
| 1592 | next(cursor) |
| 1593 | |
| 1594 | def test_clone(self): |
| 1595 | self.db.test.insert_one({}) |
| 1596 | cursor = self.db.test.find_raw_batches() |
| 1597 | # Copy of a RawBatchCursor is also a RawBatchCursor, not a Cursor. |
| 1598 | self.assertIsInstance(next(cursor.clone()), bytes) |
| 1599 | self.assertIsInstance(next(copy.copy(cursor)), bytes) |
| 1600 | |
| 1601 | @client_context.require_no_mongos |
| 1602 | def test_exhaust(self): |
nothing calls this directly
no test coverage detected