diff --git a/src/requests/auth.py b/src/requests/auth.py index 4a7ce6dc14..60fe16e6c8 100644 --- a/src/requests/auth.py +++ b/src/requests/auth.py @@ -88,9 +88,6 @@ def __eq__(self, other): ] ) - def __ne__(self, other): - return not self == other - def __call__(self, r): r.headers["Authorization"] = _basic_auth_str(self.username, self.password) return r @@ -309,6 +306,3 @@ def __eq__(self, other): self.password == getattr(other, "password", None), ] ) - - def __ne__(self, other): - return not self == other