(self)
| 80 | self.assertPyMongoErrorEqual(exc, pickle.loads(pickle.dumps(exc))) |
| 81 | |
| 82 | def test_pickle_OperationFailure(self): |
| 83 | exc = OperationFailure("error", code=5, details={}, max_wire_version=7) |
| 84 | self.assertOperationFailureEqual(exc, pickle.loads(pickle.dumps(exc))) |
| 85 | |
| 86 | def test_pickle_BulkWriteError(self): |
| 87 | exc = BulkWriteError({}) |
nothing calls this directly
no test coverage detected