(self)
| 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) |
| 93 | exc = EncryptionError(cause) |
| 94 | exc2 = pickle.loads(pickle.dumps(exc)) |
| 95 | self.assertPyMongoErrorEqual(exc, exc2) |
| 96 | self.assertOperationFailureEqual(cause, exc2.cause) |
| 97 | |
| 98 | |
| 99 | if __name__ == "__main__": |
nothing calls this directly
no test coverage detected