(self)
| 84 | self.assertOperationFailureEqual(exc, pickle.loads(pickle.dumps(exc))) |
| 85 | |
| 86 | def test_pickle_BulkWriteError(self): |
| 87 | exc = BulkWriteError({}) |
| 88 | self.assertOperationFailureEqual(exc, pickle.loads(pickle.dumps(exc))) |
| 89 | self.assertIn("batch op errors occurred", str(exc)) |
| 90 | |
| 91 | def test_pickle_EncryptionError(self): |
| 92 | cause = OperationFailure("error", code=5, details={}, max_wire_version=7) |
nothing calls this directly
no test coverage detected