(self)
| 76 | self.assertEqual(exc1._max_wire_version, exc2._max_wire_version) |
| 77 | |
| 78 | def test_pickle_NotPrimaryError(self): |
| 79 | exc = NotPrimaryError("not primary test", {"errmsg": "error"}) |
| 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) |
nothing calls this directly
no test coverage detected